#6F288B#6F288B

#6F288B is a dark, vivid purple. Relative luminance 0.068; OKLCH L 42.8% C 0.163 H 314.7°. Best body text is #FFFFFF at 8.93:1 contrast (WCAG AA passes).

Color values

HEX#6F288B
RGBrgb(111, 40, 139)
HSLhsl(283, 55%, 35%)
HSVhsv(283, 71%, 55%)
CMYKcmyk(20.1%, 71.2%, 0%, 45.5%)
CIE-LABlab(31.26, 46.95, -41.14)
CIE-LCHlch(31.26, 62.43, 318.77°)
OKLaboklab(42.8% 0.1147 -0.1159)
OKLCHoklch(42.8% 0.163 314.7)
XYZxyz(11.9738, 6.7616, 25.0955)
Luminance0.0676 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F288B #448B28
analogous
#3D288B #6F288B #8B2876
triadic
#6F288B #8B6F28 #288B6F
tetradic
#6F288B #8B3D28 #448B28 #28768B
square
#6F288B #8B3D28 #448B28 #28768B
split-complementary
#6F288B #768B28 #288B3D
monochromatic
#230D2C #491A5B #6F288B #9536BB #B05DD0

Accessibility & contrast

On white

8.93
#6F288B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#6F288B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F288B
8.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F288B#FFFFFF#000000##FFFFFF
##6F288B1.008.932.358.93
#FFFFFF8.931.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00468E
Deuteranopia (green-blind)
#244B89
Tritanopia (blue-blind)
#6D3C56
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #6f288b;
/* rgb */ color: rgb(111, 40, 139);
/* oklch */ color: oklch(42.8% 0.163 314.7);
Tailwind
colors: {
  custom: {
    50: '#9c68ad',
    500: '#6f288b',
    950: '#000000',
  },
}
SCSS
$custom: #6f288b;
$custom-light: #9c68ad;
$custom-dark: #000000;
JSON
{
  "hex": "#6f288b",
  "rgb": {
    "r": 111,
    "g": 40,
    "b": 139
  },
  "hsl": {
    "h": 283.03,
    "s": 55.307,
    "l": 35.098
  },
  "oklch": {
    "l": 0.42802,
    "c": 0.163,
    "h": 314.7
  },
  "luminance": 0.06761
}

Semantic roles & 50–950 ramp

primary
#6F288B
secondary
#73B659
accent
#DF4973
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0F0710
muted
#7E7A7F

Preview Lab

Preview with #6F288B

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

Preview Lab → · Contrast checker → · Palette generator →

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