#6E2168#6E2168

#6E2168 is a dark, vivid purple. Relative luminance 0.054; OKLCH L 39.6% C 0.139 H 331.1°. Best body text is #FFFFFF at 10.09:1 contrast (WCAG AA passes).

Color values

HEX#6E2168
RGBrgb(110, 33, 104)
HSLhsl(305, 54%, 28%)
HSVhsv(305, 70%, 43%)
CMYKcmyk(0%, 70%, 5.5%, 56.9%)
CIE-LABlab(27.85, 42.80, -24.46)
CIE-LCHlch(27.85, 49.29, 330.25°)
OKLaboklab(39.63% 0.122 -0.0672)
OKLCHoklch(39.63% 0.139 331.1)
XYZxyz(9.4729, 5.4029, 13.6380)
Luminance0.0540 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E2168 #216E27
analogous
#4D216E #6E2168 #6E2141
triadic
#6E2168 #686E21 #21686E
tetradic
#6E2168 #6E4D21 #216E27 #21416E
square
#6E2168 #6E4D21 #216E27 #21416E
split-complementary
#6E2168 #416E21 #216E4D
monochromatic
#180716 #3F133B #6E2168 #9D2F95 #C743BC

Accessibility & contrast

On white

10.09
#6E2168 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#6E2168 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E2168
10.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E2168#FFFFFF#000000##FFFFFF
##6E21681.0010.092.0810.09
#FFFFFF10.091.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C3B6A
Deuteranopia (green-blind)
#374666
Tritanopia (blue-blind)
#732941
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #6e2168;
/* rgb */ color: rgb(110, 33, 104);
/* oklch */ color: oklch(39.6% 0.139 331.1);
Tailwind
colors: {
  custom: {
    50: '#9a6393',
    500: '#6e2168',
    950: '#000000',
  },
}
SCSS
$custom: #6e2168;
$custom-light: #9a6393;
$custom-dark: #000000;
JSON
{
  "hex": "#6e2168",
  "rgb": {
    "r": 110,
    "g": 33,
    "b": 104
  },
  "hsl": {
    "h": 304.675,
    "s": 53.846,
    "l": 28.039
  },
  "oklch": {
    "l": 0.39625,
    "c": 0.13928,
    "h": 331.1
  },
  "luminance": 0.05402
}

Semantic roles & 50–950 ramp

primary
#6E2168
secondary
#49A250
accent
#DD564B
background
#F9F6F9
surface
#F2EBF1
border
#CCC6CB
text
#0E060D
muted
#7E7A7E

Preview Lab

Preview with #6E2168

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

Preview Lab → · Contrast checker → · Palette generator →

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