#6F208C#6F208C

#6F208C is a dark, vivid purple. Relative luminance 0.063; OKLCH L 42.1% C 0.174 H 315.0°. Best body text is #FFFFFF at 9.29:1 contrast (WCAG AA passes).

Color values

HEX#6F208C
RGBrgb(111, 32, 140)
HSLhsl(284, 63%, 34%)
HSVhsv(284, 77%, 55%)
CMYKcmyk(20.7%, 77.1%, 0%, 45.1%)
CIE-LABlab(30.17, 50.45, -43.51)
CIE-LCHlch(30.17, 66.62, 319.22°)
OKLaboklab(42.05% 0.1228 -0.1227)
OKLCHoklch(42.05% 0.174 315)
XYZxyz(11.8049, 6.3064, 25.4013)
Luminance0.0631 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F208C #3D8C20
analogous
#39208C #6F208C #8C2073
triadic
#6F208C #8C6F20 #208C6F
tetradic
#6F208C #8C3920 #3D8C20 #20738C
square
#6F208C #8C3920 #3D8C20 #20738C
split-complementary
#6F208C #738C20 #208C39
monochromatic
#200928 #48155A #6F208C #962BBE #B350D7

Accessibility & contrast

On white

9.29
#6F208C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6F208C
9.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F208C#FFFFFF#000000##FFFFFF
##6F208C1.009.292.269.29
#FFFFFF9.291.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00438F
Deuteranopia (green-blind)
#1B498A
Tritanopia (blue-blind)
#6D3855
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #6f208c;
/* rgb */ color: rgb(111, 32, 140);
/* oklch */ color: oklch(42.1% 0.174 315.0);
Tailwind
colors: {
  custom: {
    50: '#9c65ae',
    500: '#6f208c',
    950: '#000000',
  },
}
SCSS
$custom: #6f208c;
$custom-light: #9c65ae;
$custom-dark: #000000;
JSON
{
  "hex": "#6f208c",
  "rgb": {
    "r": 111,
    "g": 32,
    "b": 140
  },
  "hsl": {
    "h": 283.889,
    "s": 62.791,
    "l": 33.725
  },
  "oklch": {
    "l": 0.42053,
    "c": 0.17363,
    "h": 315
  },
  "luminance": 0.06306
}

Semantic roles & 50–950 ramp

primary
#6F208C
secondary
#6BBA4E
accent
#E6426E
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0F0610
muted
#7E7A7F

Preview Lab

Preview with #6F208C

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

Preview Lab → · Contrast checker → · Palette generator →

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