Skip to content

#830baf

a dark, electric violet · cool · closest name: Dark Violet

RGB
131, 11, 175
HSL
284°, 88%, 37%
CMYK
25, 94, 0, 31
Luminance
0.0816

At a glance

Every number on this page in one read: what #830baf is made of, how bright it looks, and which way it leans.

Hex
#830baf
Hue
284°
violet
Saturation
88%
electric
Lightness
37%
dark
Brightness
69%
HSV value
Perceived
37%
weighted brightness
Luminance
0.0816
WCAG relative
Temperature
Cool
59/100 cool
Color family
Violet
Tone
Electric
Best ink
White
7.98:1
Closest name
Dark Violet
ΔE2000 5.5
Where it sits
Hue284° of 360°
Saturation88%
Lightness37%
Temperature
Warm ← → Cool59% cool

Reads cool. Warm and cool siblings keep the same lightness, so you can swap one in without redoing your contrast maths.

Every format

HEX#830baf
RGBrgb(131, 11, 175)
HSLhsl(284, 88%, 37%)
CMYKcmyk(25%, 94%, 0%, 31%)
LABlab(34.3 66.0 -57.9)
LCHlch(34.3 87.8 318.7)
OKLCHoklch(0.464 0.225 313.1)
Decimal8588207
Display P3color(display-p3 0.514 0.043 0.686)

Copy-ready code

/* CSS */
color: #830baf;
background-color: #830baf;
/* Tailwind (arbitrary) */
class="text-[#830baf] bg-[#830baf]"
/* SCSS */
$brand: #830baf;
/* SwiftUI */
Color(red: 0.514, green: 0.043, blue: 0.686)
/* Android */
Color.parseColor("#830baf")
/* Flutter */
Color(0xFF830BAF)
/* Python / OpenCV (BGR) */
(175, 11, 131)

Best text color

Only one of black and white can be right. This is the one, with the number that proves it.

Readable at a glance#ffffff on #830baf · 7.98:1
Use #ffffffAAA at every size.
Aa
White text · 7.98:1 · recommended
AA pass · AA large pass · AAA pass
Aa
Black text · 2.63:1
AA fail · AA large fail · AAA fail
Reading the other direction: #830baf as text scores 7.98:1 on white and 2.63:1 on black.

Accessibility — WCAG contrast

Aa
#830baf on white: 7.98:1
AA ✓ pass · AA-large · AAA
Aa
#830baf on black: 2.63:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #004BB3
deuteranopia · #0053AC
tritanopia · #7E3E66

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #830baf is pinned to step 700; the rest hold its hue and let saturation ease off at the extremes so the pale end never turns neon.

#FAF2FD
#F5E5FA
#EAC4F8
#DE95F8
#CD61F5
#BD2CF2
#AC0EE6
#830baf
#730A9A
#540C6F
#350745
Base = 700Lightest = 50 · #FAF2FDDarkest = 950 · #350745
:root {
  --brand-50: #FAF2FD;
  --brand-100: #F5E5FA;
  --brand-200: #EAC4F8;
  --brand-300: #DE95F8;
  --brand-400: #CD61F5;
  --brand-500: #BD2CF2;
  --brand-600: #AC0EE6;
  --brand-700: #830baf;
  --brand-800: #730A9A;
  --brand-900: #540C6F;
  --brand-950: #350745;
  --brand: #830baf;
  --brand-ink: #ffffff;
}

Colors that work with #830baf

Not a palette — a role sheet. Each swatch answers one question you will hit while building the component.

Text on it#ffffff
White wins here
Surface#F9F4FA
Tinted page background
Border#E1C0ED
Hairlines and dividers
Muted text#854B9B
Captions on the surface
Accent#69C408
Second voice, not a rival
Dark variant#5A0878
Hover, pressed, headers
Light variant#F7E7FD
Selected rows, tints
Dark surface#201424
Dark-mode background
Light mode
Everything in its place

Surface, border, heading and body all derive from this one hue, so the screen stays coherent without a second palette.

Primary actionSecondaryBadge
Dark mode
Same hue, inverted

Lightness flips, hue holds. The accent stays the anchor in both themes.

Primary actionSecondaryAccent

How to use #830baf

Derived from its contrast, chroma and lightness — not from taste.

Works well for
  • Body text and links on white
  • Primary buttons and calls to action
  • Focus rings, active and selected states
  • Headers, footers and dark-mode surfaces
  • Brand accents, badges and data highlights
Use with care
  • Text on black or near-black surfaces
  • Full-page backgrounds — tiring over long sessions
  • Black text placed on it
  • Pairing with a same-lightness hue — edges vibrate

Similar colors

One move away from this hex in each direction. Every swatch is its own page.

Color relationships

The wheel positions with their names attached, so you can grab the one you actually need.

Complementary#37AF0B
Analogous left#310BAF
Analogous right#AF0B89
Split-complement 1#89AF0B
Split-complement 2#0BAF31
Triadic 1#AF830B
Triadic 2#0BAF83
Tetradic#AF310B

RGB percentages

Red51.4%
Green4.3%
Blue68.6%

CMYK percentages

Cyan25.1%
Magenta93.7%
Yellow0.0%
Key (black)31.4%

Color previews

#830baf text on a black background

contrast 2.63:1

Card sample

#830baf text on a white background

contrast 7.98:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #830baf;
Background color
Panel with #830baf background
background-color: #830baf;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #830baf;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(131, 11, 175, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(131, 11, 175, 0.45);
Border & gradient
Gradient panel
border: 3px solid #830baf;
background: linear-gradient(135deg, #830baf, #AF0B6E);

Monochromatic scale

Palettes built from #830baf

Shades — darker

Tints — lighter

Color harmonies

Nearest named colors

Ranked with CIEDE2000 across all 139 CSS keywords. Under ΔE 2 the eye stops telling them apart; over ΔE 10 they are plainly different colors.

#830baf in the real world

Where a color in this family tends to land, and the interface roles it is usually asked to play.

Industries
Creative toolsFintechBeautyLuxury
Common UI roles
ButtonsLinksFocus statesCharts
Print note

Sits outside most CMYK gamuts — expect a duller press result, or specify a spot ink.

#830baf, answered

What color is #830baf?

#830baf is a dark electric violet, closest to Dark Violet (ΔE2000 5.5). It sits at 284° on the hue wheel with 88% saturation and 37% lightness, which reads as cool.

What is the RGB value of #830baf?

rgb(131, 11, 175) — 131 red, 11 green and 175 blue out of 255, or 51.4% / 4.3% / 68.6% by channel.

Is #830baf a light or a dark color?

It is a dark color. Relative luminance is 0.0816 and perceived brightness is 37%, so white text on it reaches 7.98:1.

Should I use black or white text on #830baf?

White. It scores 7.98:1 against #830baf, versus 2.63:1 for black — AAA at any size.

What is the complementary color of #830baf?

#37AF0B sits directly opposite on the wheel. Softer options are the split-complements #89AF0B and #0BAF31, which give the same contrast with far less vibration.

What colors go well with #830baf?

For interface work: #F9F4FA as the surface, #E1C0ED for borders, #854B9B for secondary text, #69C408 as an accent and #5A0878 for hover and pressed states. For a palette, the analogous pair #310BAF and #AF0B89 stays calm, while #37AF0B is the loudest partner.

What is #830baf in CMYK for printing?

cmyk(25%, 94%, 0%, 31%). This is a screen-to-ink approximation — a color this saturated sits outside most CMYK gamuts and will print duller than it looks here.

Is #830baf warm or cool?

Cool — it scores 59 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #AF0B9F; nudged cooler, #4609B1.

Work with #830baf in the Color Lab