#6E188B#6E188B

#6E188B is a dark, vivid purple. Relative luminance 0.058; OKLCH L 41.2% C 0.180 H 315.4°. Best body text is #FFFFFF at 9.69:1 contrast (WCAG AA passes).

Color values

HEX#6E188B
RGBrgb(110, 24, 139)
HSLhsl(285, 71%, 32%)
HSVhsv(285, 83%, 55%)
CMYKcmyk(20.9%, 82.7%, 0%, 45.5%)
CIE-LABlab(28.99, 52.79, -44.82)
CIE-LCHlch(28.99, 69.25, 319.67°)
OKLaboklab(41.16% 0.1286 -0.1266)
OKLCHoklch(41.16% 0.18 315.4)
XYZxyz(11.4165, 5.8328, 24.9456)
Luminance0.0583 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E188B #358B18
analogous
#35188B #6E188B #8B186E
triadic
#6E188B #8B6E18 #188B6E
tetradic
#6E188B #8B3518 #358B18 #186E8B
square
#6E188B #8B3518 #358B18 #186E8B
split-complementary
#6E188B #6E8B18 #188B35
monochromatic
#1B0623 #450F57 #6E188B #9721BF #B63FDE

Accessibility & contrast

On white

9.69
#6E188B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#6E188B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E188B
9.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E188B#FFFFFF#000000##FFFFFF
##6E188B1.009.692.179.69
#FFFFFF9.691.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00408E
Deuteranopia (green-blind)
#134689
Tritanopia (blue-blind)
#6C3453
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #6e188b;
/* rgb */ color: rgb(110, 24, 139);
/* oklch */ color: oklch(41.2% 0.180 315.4);
Tailwind
colors: {
  custom: {
    50: '#9c61ae',
    500: '#6e188b',
    950: '#000000',
  },
}
SCSS
$custom: #6e188b;
$custom-light: #9c61ae;
$custom-dark: #000000;
JSON
{
  "hex": "#6e188b",
  "rgb": {
    "r": 110,
    "g": 24,
    "b": 139
  },
  "hsl": {
    "h": 284.87,
    "s": 70.552,
    "l": 31.961
  },
  "oklch": {
    "l": 0.41162,
    "c": 0.1804,
    "h": 315.4
  },
  "luminance": 0.05832
}

Semantic roles & 50–950 ramp

primary
#6E188B
secondary
#60BE40
accent
#ED3A68
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0F0610
muted
#7E7A7F

Preview Lab

Preview with #6E188B

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

Preview Lab → · Contrast checker → · Palette generator →

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