#6E287C#6E287C

#6E287C is a dark, vivid purple. Relative luminance 0.063; OKLCH L 41.6% C 0.148 H 320.6°. Best body text is #FFFFFF at 9.30:1 contrast (WCAG AA passes).

Color values

HEX#6E287C
RGBrgb(110, 40, 124)
HSLhsl(290, 51%, 32%)
HSVhsv(290, 68%, 49%)
CMYKcmyk(11.3%, 67.7%, 0%, 51.4%)
CIE-LABlab(30.13, 43.55, -33.60)
CIE-LCHlch(30.13, 55.00, 322.35°)
OKLaboklab(41.65% 0.1141 -0.0938)
OKLCHoklch(41.65% 0.148 320.6)
XYZxyz(10.8269, 6.2883, 19.7084)
Luminance0.0629 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E287C #367C28
analogous
#44287C #6E287C #7C2860
triadic
#6E287C #7C6E28 #287C6E
tetradic
#6E287C #7C4428 #367C28 #28607C
square
#6E287C #7C4428 #367C28 #28607C
split-complementary
#6E287C #607C28 #287C44
monochromatic
#1C0A1F #45194E #6E287C #9737AA #B556C8

Accessibility & contrast

On white

9.30
#6E287C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6E287C
9.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E287C#FFFFFF#000000##FFFFFF
##6E287C1.009.302.269.30
#FFFFFF9.301.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F427E
Deuteranopia (green-blind)
#30497A
Tritanopia (blue-blind)
#6F364E
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #6e287c;
/* rgb */ color: rgb(110, 40, 124);
/* oklch */ color: oklch(41.6% 0.148 320.6);
Tailwind
colors: {
  custom: {
    50: '#9a68a2',
    500: '#6e287c',
    950: '#000000',
  },
}
SCSS
$custom: #6e287c;
$custom-light: #9a68a2;
$custom-dark: #000000;
JSON
{
  "hex": "#6e287c",
  "rgb": {
    "r": 110,
    "g": 40,
    "b": 124
  },
  "hsl": {
    "h": 290,
    "s": 51.22,
    "l": 32.157
  },
  "oklch": {
    "l": 0.41647,
    "c": 0.14772,
    "h": 320.6
  },
  "luminance": 0.06288
}

Semantic roles & 50–950 ramp

primary
#6E287C
secondary
#62AD52
accent
#DB4D65
background
#F9F6FA
surface
#F2EBF3
border
#CCC6CD
text
#0E060F
muted
#7E7A7F

Preview Lab

Preview with #6E287C

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

Preview Lab → · Contrast checker → · Palette generator →

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