#6A207B#6A207B

#6A207B is a dark, vivid purple. Relative luminance 0.055; OKLCH L 40.1% C 0.156 H 319.4°. Best body text is #FFFFFF at 9.97:1 contrast (WCAG AA passes).

Color values

HEX#6A207B
RGBrgb(106, 32, 123)
HSLhsl(289, 59%, 30%)
HSVhsv(289, 74%, 48%)
CMYKcmyk(13.8%, 74%, 0%, 51.8%)
CIE-LABlab(28.19, 45.85, -36.11)
CIE-LCHlch(28.19, 58.36, 321.78°)
OKLaboklab(40.11% 0.1183 -0.1012)
OKLCHoklch(40.11% 0.156 319.4)
XYZxyz(10.0351, 5.5277, 19.2734)
Luminance0.0553 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A207B #317B20
analogous
#3C207B #6A207B #7B205E
triadic
#6A207B #7B6A20 #207B6A
tetradic
#6A207B #7B3C20 #317B20 #205E7B
square
#6A207B #7B3C20 #317B20 #205E7B
split-complementary
#6A207B #5E7B20 #207B3C
monochromatic
#16071A #40134A #6A207B #942DAC #B546CF

Accessibility & contrast

On white

9.97
#6A207B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#6A207B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A207B
9.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A207B#FFFFFF#000000##FFFFFF
##6A207B1.009.972.119.97
#FFFFFF9.971.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E7E
Deuteranopia (green-blind)
#274579
Tritanopia (blue-blind)
#6A324B
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #6a207b;
/* rgb */ color: rgb(106, 32, 123);
/* oklch */ color: oklch(40.1% 0.156 319.4);
Tailwind
colors: {
  custom: {
    50: '#9863a2',
    500: '#6a207b',
    950: '#000000',
  },
}
SCSS
$custom: #6a207b;
$custom-light: #9863a2;
$custom-dark: #000000;
JSON
{
  "hex": "#6a207b",
  "rgb": {
    "r": 106,
    "g": 32,
    "b": 123
  },
  "hsl": {
    "h": 288.791,
    "s": 58.71,
    "l": 30.392
  },
  "oklch": {
    "l": 0.40105,
    "c": 0.15566,
    "h": 319.4
  },
  "luminance": 0.05527
}

Semantic roles & 50–950 ramp

primary
#6A207B
secondary
#5CAE49
accent
#E24663
background
#F9F6FA
surface
#F2EBF3
border
#CCC6CD
text
#0E060F
muted
#7E7A7F

Preview Lab

Preview with #6A207B

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

Preview Lab → · Contrast checker → · Palette generator →

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