#6E198B#6E198B

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

Color values

HEX#6E198B
RGBrgb(110, 25, 139)
HSLhsl(285, 70%, 32%)
HSVhsv(285, 82%, 55%)
CMYKcmyk(20.9%, 82%, 0%, 45.5%)
CIE-LABlab(29.09, 52.48, -44.64)
CIE-LCHlch(29.09, 68.90, 319.61°)
OKLaboklab(41.24% 0.1278 -0.1261)
OKLCHoklch(41.24% 0.179 315.4)
XYZxyz(11.4375, 5.8748, 24.9526)
Luminance0.0587 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E198B #368B19
analogous
#35198B #6E198B #8B196F
triadic
#6E198B #8B6E19 #198B6E
tetradic
#6E198B #8B3519 #368B19 #196F8B
square
#6E198B #8B3519 #368B19 #196F8B
split-complementary
#6E198B #6F8B19 #198B35
monochromatic
#1C0623 #451057 #6E198B #9722BF #B541DD

Accessibility & contrast

On white

9.66
#6E198B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6E198B
9.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E198B#FFFFFF#000000##FFFFFF
##6E198B1.009.662.179.66
#FFFFFF9.661.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.661.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6e198b;
/* rgb */ color: rgb(110, 25, 139);
/* oklch */ color: oklch(41.2% 0.179 315.4);
Tailwind
colors: {
  custom: {
    50: '#9c62ae',
    500: '#6e198b',
    950: '#000000',
  },
}
SCSS
$custom: #6e198b;
$custom-light: #9c62ae;
$custom-dark: #000000;
JSON
{
  "hex": "#6e198b",
  "rgb": {
    "r": 110,
    "g": 25,
    "b": 139
  },
  "hsl": {
    "h": 284.737,
    "s": 69.512,
    "l": 32.157
  },
  "oklch": {
    "l": 0.41237,
    "c": 0.17949,
    "h": 315.4
  },
  "luminance": 0.05874
}

Semantic roles & 50–950 ramp

primary
#6E198B
secondary
#62BE42
accent
#EC3B68
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0F0610
muted
#7E7A7F

Preview Lab

Preview with #6E198B

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

Preview Lab → · Contrast checker → · Palette generator →

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