#6E188F#6E188F

#6E188F is a dark, vivid purple. Relative luminance 0.060; OKLCH L 41.5% C 0.184 H 314.0°. Best body text is #FFFFFF at 9.59:1 contrast (WCAG AA passes).

Color values

HEX#6E188F
RGBrgb(110, 24, 143)
HSLhsl(283, 71%, 33%)
HSVhsv(283, 83%, 56%)
CMYKcmyk(23.1%, 83.2%, 0%, 43.9%)
CIE-LABlab(29.29, 53.61, -46.80)
CIE-LCHlch(29.29, 71.16, 318.88°)
OKLaboklab(41.47% 0.1277 -0.1324)
OKLCHoklch(41.47% 0.184 314)
XYZxyz(11.7141, 5.9518, 26.5130)
Luminance0.0595 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E188F #398F18
analogous
#32188F #6E188F #8F1875
triadic
#6E188F #8F6E18 #188F6E
tetradic
#6E188F #8F3218 #398F18 #18758F
square
#6E188F #8F3218 #398F18 #18758F
split-complementary
#6E188F #758F18 #188F32
monochromatic
#1D0626 #460F5B #6E188F #9621C3 #B442DF

Accessibility & contrast

On white

9.59
#6E188F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#6E188F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E188F
9.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E188F#FFFFFF#000000##FFFFFF
##6E188F1.009.592.199.59
#FFFFFF9.591.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004192
Deuteranopia (green-blind)
#08478D
Tritanopia (blue-blind)
#6B3655
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #6e188f;
/* rgb */ color: rgb(110, 24, 143);
/* oklch */ color: oklch(41.5% 0.184 314.0);
Tailwind
colors: {
  custom: {
    50: '#9c61b1',
    500: '#6e188f',
    950: '#000000',
  },
}
SCSS
$custom: #6e188f;
$custom-light: #9c61b1;
$custom-dark: #000000;
JSON
{
  "hex": "#6e188f",
  "rgb": {
    "r": 110,
    "g": 24,
    "b": 143
  },
  "hsl": {
    "h": 283.361,
    "s": 71.257,
    "l": 32.745
  },
  "oklch": {
    "l": 0.4147,
    "c": 0.18395,
    "h": 314
  },
  "luminance": 0.05951
}

Semantic roles & 50–950 ramp

primary
#6E188F
secondary
#65C043
accent
#EE3A6C
background
#FAF6FB
surface
#F3EBF6
border
#CDC6D0
text
#0F0611
muted
#7F7A80

Preview Lab

Preview with #6E188F

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

Preview Lab → · Contrast checker → · Palette generator →

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