#6E189B#6E189B

#6E189B is a dark, vivid violet. Relative luminance 0.063; OKLCH L 42.4% C 0.195 H 309.8°. Best body text is #FFFFFF at 9.26:1 contrast (WCAG AA passes).

Color values

HEX#6E189B
RGBrgb(110, 24, 155)
HSLhsl(279, 73%, 35%)
HSVhsv(279, 85%, 61%)
CMYKcmyk(29%, 84.5%, 0%, 39.2%)
CIE-LABlab(30.24, 56.11, -52.63)
CIE-LCHlch(30.24, 76.93, 316.83°)
OKLaboklab(42.43% 0.1247 -0.1495)
OKLCHoklch(42.43% 0.195 309.8)
XYZxyz(12.6722, 6.3351, 31.5592)
Luminance0.0634 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E189B #459B18
analogous
#2C189B #6E189B #9B1887
triadic
#6E189B #9B6E18 #189B6E
tetradic
#6E189B #9B2C18 #459B18 #18879B
square
#6E189B #9B2C18 #459B18 #18879B
split-complementary
#6E189B #879B18 #189B2C
monochromatic
#230831 #481066 #6E189B #9420D0 #AF4AE3

Accessibility & contrast

On white

9.26
#6E189B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#6E189B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E189B
9.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E189B#FFFFFF#000000##FFFFFF
##6E189B1.009.262.279.26
#FFFFFF9.261.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00449E
Deuteranopia (green-blind)
#004898
Tritanopia (blue-blind)
#673C5C
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #6e189b;
/* rgb */ color: rgb(110, 24, 155);
/* oklch */ color: oklch(42.4% 0.195 309.8);
Tailwind
colors: {
  custom: {
    50: '#9d62b9',
    500: '#6e189b',
    950: '#000000',
  },
}
SCSS
$custom: #6e189b;
$custom-light: #9d62b9;
$custom-dark: #000000;
JSON
{
  "hex": "#6e189b",
  "rgb": {
    "r": 110,
    "g": 24,
    "b": 155
  },
  "hsl": {
    "h": 279.389,
    "s": 73.184,
    "l": 35.098
  },
  "oklch": {
    "l": 0.42432,
    "c": 0.19468,
    "h": 309.8
  },
  "luminance": 0.06335
}

Semantic roles & 50–950 ramp

primary
#6E189B
secondary
#74C54A
accent
#F03877
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#0F0612
muted
#7F7A81

Preview Lab

Preview with #6E189B

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#6E189B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva