#6F208B#6F208B

#6F208B is a dark, vivid purple. Relative luminance 0.063; OKLCH L 42.0% C 0.173 H 315.4°. Best body text is #FFFFFF at 9.31:1 contrast (WCAG AA passes).

Color values

HEX#6F208B
RGBrgb(111, 32, 139)
HSLhsl(284, 63%, 34%)
HSVhsv(284, 77%, 55%)
CMYKcmyk(20.1%, 77%, 0%, 45.5%)
CIE-LABlab(30.10, 50.24, -43.01)
CIE-LCHlch(30.10, 66.13, 319.43°)
OKLaboklab(41.98% 0.123 -0.1213)
OKLCHoklch(41.98% 0.173 315.4)
XYZxyz(11.7315, 6.2771, 25.0147)
Luminance0.0628 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F208B #3C8B20
analogous
#39208B #6F208B #8B2071
triadic
#6F208B #8B6F20 #208B6F
tetradic
#6F208B #8B3920 #3C8B20 #20718B
square
#6F208B #8B3920 #3C8B20 #20718B
split-complementary
#6F208B #718B20 #208B39
monochromatic
#200928 #471559 #6F208B #972BBD #B34FD6

Accessibility & contrast

On white

9.31
#6F208B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6F208B
9.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F208B#FFFFFF#000000##FFFFFF
##6F208B1.009.312.269.31
#FFFFFF9.311.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00428E
Deuteranopia (green-blind)
#1D4989
Tritanopia (blue-blind)
#6D3854
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #6f208b;
/* rgb */ color: rgb(111, 32, 139);
/* oklch */ color: oklch(42.0% 0.173 315.4);
Tailwind
colors: {
  custom: {
    50: '#9c65ad',
    500: '#6f208b',
    950: '#000000',
  },
}
SCSS
$custom: #6f208b;
$custom-light: #9c65ad;
$custom-dark: #000000;
JSON
{
  "hex": "#6f208b",
  "rgb": {
    "r": 111,
    "g": 32,
    "b": 139
  },
  "hsl": {
    "h": 284.299,
    "s": 62.573,
    "l": 33.529
  },
  "oklch": {
    "l": 0.41979,
    "c": 0.17269,
    "h": 315.4
  },
  "luminance": 0.06277
}

Semantic roles & 50–950 ramp

primary
#6F208B
secondary
#6ABA4D
accent
#E6426D
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0F0610
muted
#7E7A7F

Preview Lab

Preview with #6F208B

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

Preview Lab → · Contrast checker → · Palette generator →

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