#6F288E#6F288E

#6F288E is a dark, vivid purple. Relative luminance 0.069; OKLCH L 43.0% C 0.166 H 313.5°. Best body text is #FFFFFF at 8.86:1 contrast (WCAG AA passes).

Color values

HEX#6F288E
RGBrgb(111, 40, 142)
HSLhsl(282, 56%, 36%)
HSVhsv(282, 72%, 56%)
CMYKcmyk(21.8%, 71.8%, 0%, 44.3%)
CIE-LABlab(31.46, 47.60, -42.67)
CIE-LCHlch(31.46, 63.93, 318.13°)
OKLaboklab(43.02% 0.1144 -0.1203)
OKLCHoklch(43.02% 0.166 313.5)
XYZxyz(12.1960, 6.8505, 26.2658)
Luminance0.0685 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F288E #478E28
analogous
#3C288E #6F288E #8E287A
triadic
#6F288E #8E6F28 #288E6F
tetradic
#6F288E #8E3C28 #478E28 #287A8E
square
#6F288E #8E3C28 #478E28 #287A8E
split-complementary
#6F288E #7A8E28 #288E3C
monochromatic
#240D2F #4A1B5E #6F288E #9435BE #AF5FD2

Accessibility & contrast

On white

8.86
#6F288E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#6F288E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F288E
8.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F288E#FFFFFF#000000##FFFFFF
##6F288E1.008.862.378.86
#FFFFFF8.861.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004691
Deuteranopia (green-blind)
#214C8C
Tritanopia (blue-blind)
#6C3D58
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #6f288e;
/* rgb */ color: rgb(111, 40, 142);
/* oklch */ color: oklch(43.0% 0.166 313.5);
Tailwind
colors: {
  custom: {
    50: '#9c68b0',
    500: '#6f288e',
    950: '#000000',
  },
}
SCSS
$custom: #6f288e;
$custom-light: #9c68b0;
$custom-dark: #000000;
JSON
{
  "hex": "#6f288e",
  "rgb": {
    "r": 111,
    "g": 40,
    "b": 142
  },
  "hsl": {
    "h": 281.765,
    "s": 56.044,
    "l": 35.686
  },
  "oklch": {
    "l": 0.43015,
    "c": 0.166,
    "h": 313.5
  },
  "luminance": 0.0685
}

Semantic roles & 50–950 ramp

primary
#6F288E
secondary
#77B75B
accent
#DF4876
background
#F9F6FA
surface
#F2EBF5
border
#CCC6CF
text
#0F0710
muted
#7E7A7F

Preview Lab

Preview with #6F288E

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

Preview Lab → · Contrast checker → · Palette generator →

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