#6E287D#6E287D

#6E287D is a dark, vivid purple. Relative luminance 0.063; OKLCH L 41.7% C 0.149 H 320.1°. Best body text is #FFFFFF at 9.28:1 contrast (WCAG AA passes).

Color values

HEX#6E287D
RGBrgb(110, 40, 125)
HSLhsl(289, 52%, 32%)
HSVhsv(289, 68%, 49%)
CMYKcmyk(12%, 68%, 0%, 51%)
CIE-LABlab(30.19, 43.75, -34.13)
CIE-LCHlch(30.19, 55.49, 322.04°)
OKLaboklab(41.71% 0.1141 -0.0954)
OKLCHoklch(41.71% 0.149 320.1)
XYZxyz(10.8904, 6.3138, 20.0431)
Luminance0.0631 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E287D #377D28
analogous
#44287D #6E287D #7D2861
triadic
#6E287D #7D6E28 #287D6E
tetradic
#6E287D #7D4428 #377D28 #28617D
square
#6E287D #7D4428 #377D28 #28617D
split-complementary
#6E287D #617D28 #287D44
monochromatic
#1C0A20 #45194F #6E287D #9737AB #B556C9

Accessibility & contrast

On white

9.28
#6E287D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#6E287D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E287D
9.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E287D#FFFFFF#000000##FFFFFF
##6E287D1.009.282.269.28
#FFFFFF9.281.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D4280
Deuteranopia (green-blind)
#2F4A7B
Tritanopia (blue-blind)
#6F374F
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #6e287d;
/* rgb */ color: rgb(110, 40, 125);
/* oklch */ color: oklch(41.7% 0.149 320.1);
Tailwind
colors: {
  custom: {
    50: '#9a68a3',
    500: '#6e287d',
    950: '#000000',
  },
}
SCSS
$custom: #6e287d;
$custom-light: #9a68a3;
$custom-dark: #000000;
JSON
{
  "hex": "#6e287d",
  "rgb": {
    "r": 110,
    "g": 40,
    "b": 125
  },
  "hsl": {
    "h": 289.412,
    "s": 51.515,
    "l": 32.353
  },
  "oklch": {
    "l": 0.41712,
    "c": 0.1487,
    "h": 320.1
  },
  "luminance": 0.06313
}

Semantic roles & 50–950 ramp

primary
#6E287D
secondary
#63AE53
accent
#DB4D66
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E060F
muted
#7E7A7F

Preview Lab

Preview with #6E287D

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

Preview Lab → · Contrast checker → · Palette generator →

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