#6A207C#6A207C

#6A207C is a dark, vivid purple. Relative luminance 0.056; OKLCH L 40.2% C 0.157 H 319.0°. Best body text is #FFFFFF at 9.95:1 contrast (WCAG AA passes).

Color values

HEX#6A207C
RGBrgb(106, 32, 124)
HSLhsl(288, 59%, 31%)
HSVhsv(288, 74%, 49%)
CMYKcmyk(14.5%, 74.2%, 0%, 51.4%)
CIE-LABlab(28.26, 46.06, -36.63)
CIE-LCHlch(28.26, 58.85, 321.50°)
OKLaboklab(40.17% 0.1182 -0.1027)
OKLCHoklch(40.17% 0.157 319)
XYZxyz(10.0980, 5.5529, 19.6048)
Luminance0.0555 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A207C #327C20
analogous
#3C207C #6A207C #7C2060
triadic
#6A207C #7C6A20 #207C6A
tetradic
#6A207C #7C3C20 #327C20 #20607C
square
#6A207C #7C3C20 #327C20 #20607C
split-complementary
#6A207C #607C20 #207C3C
monochromatic
#17071B #40134B #6A207C #942DAD #B547CF

Accessibility & contrast

On white

9.95
#6A207C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6A207C
9.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A207C#FFFFFF#000000##FFFFFF
##6A207C1.009.952.119.95
#FFFFFF9.951.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E7F
Deuteranopia (green-blind)
#26457A
Tritanopia (blue-blind)
#6A324C
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #6a207c;
/* rgb */ color: rgb(106, 32, 124);
/* oklch */ color: oklch(40.2% 0.157 319.0);
Tailwind
colors: {
  custom: {
    50: '#9863a2',
    500: '#6a207c',
    950: '#000000',
  },
}
SCSS
$custom: #6a207c;
$custom-light: #9863a2;
$custom-dark: #000000;
JSON
{
  "hex": "#6a207c",
  "rgb": {
    "r": 106,
    "g": 32,
    "b": 124
  },
  "hsl": {
    "h": 288.261,
    "s": 58.974,
    "l": 30.588
  },
  "oklch": {
    "l": 0.40174,
    "c": 0.15659,
    "h": 319
  },
  "luminance": 0.05552
}

Semantic roles & 50–950 ramp

primary
#6A207C
secondary
#5DAF49
accent
#E24664
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E060F
muted
#7E7A7F

Preview Lab

Preview with #6A207C

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

Preview Lab → · Contrast checker → · Palette generator →

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