#6E288B#6E288B

#6E288B is a dark, vivid purple. Relative luminance 0.067; OKLCH L 42.7% C 0.163 H 314.2°. Best body text is #FFFFFF at 8.98:1 contrast (WCAG AA passes).

Color values

HEX#6E288B
RGBrgb(110, 40, 139)
HSLhsl(282, 55%, 35%)
HSVhsv(282, 71%, 55%)
CMYKcmyk(20.9%, 71.2%, 0%, 45.5%)
CIE-LABlab(31.11, 46.73, -41.40)
CIE-LCHlch(31.11, 62.42, 318.46°)
OKLaboklab(42.66% 0.1133 -0.1166)
OKLCHoklch(42.66% 0.163 314.2)
XYZxyz(11.8486, 6.6971, 25.0896)
Luminance0.0670 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E288B #458B28
analogous
#3C288B #6E288B #8B2877
triadic
#6E288B #8B6E28 #288B6E
tetradic
#6E288B #8B3C28 #458B28 #28778B
square
#6E288B #8B3C28 #458B28 #28778B
split-complementary
#6E288B #778B28 #288B3C
monochromatic
#230D2C #481A5B #6E288B #9436BB #AF5DD0

Accessibility & contrast

On white

8.98
#6E288B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#6E288B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E288B
8.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E288B#FFFFFF#000000##FFFFFF
##6E288B1.008.982.348.98
#FFFFFF8.981.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00458E
Deuteranopia (green-blind)
#234B89
Tritanopia (blue-blind)
#6B3C56
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #6e288b;
/* rgb */ color: rgb(110, 40, 139);
/* oklch */ color: oklch(42.7% 0.163 314.2);
Tailwind
colors: {
  custom: {
    50: '#9b68ad',
    500: '#6e288b',
    950: '#000000',
  },
}
SCSS
$custom: #6e288b;
$custom-light: #9b68ad;
$custom-dark: #000000;
JSON
{
  "hex": "#6e288b",
  "rgb": {
    "r": 110,
    "g": 40,
    "b": 139
  },
  "hsl": {
    "h": 282.424,
    "s": 55.307,
    "l": 35.098
  },
  "oklch": {
    "l": 0.42663,
    "c": 0.16262,
    "h": 314.2
  },
  "luminance": 0.06697
}

Semantic roles & 50–950 ramp

primary
#6E288B
secondary
#74B659
accent
#DF4975
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #6E288B

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

Preview Lab → · Contrast checker → · Palette generator →

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