#6A207E#6A207E

#6A207E is a dark, vivid purple. Relative luminance 0.056; OKLCH L 40.3% C 0.158 H 318.1°. Best body text is #FFFFFF at 9.90:1 contrast (WCAG AA passes).

Color values

HEX#6A207E
RGBrgb(106, 32, 126)
HSLhsl(287, 59%, 31%)
HSVhsv(287, 75%, 49%)
CMYKcmyk(15.9%, 74.6%, 0%, 50.6%)
CIE-LABlab(28.39, 46.47, -37.68)
CIE-LCHlch(28.39, 59.82, 320.96°)
OKLaboklab(40.31% 0.118 -0.1058)
OKLCHoklch(40.31% 0.158 318.1)
XYZxyz(10.2257, 5.6040, 20.2777)
Luminance0.0560 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A207E #347E20
analogous
#3B207E #6A207E #7E2063
triadic
#6A207E #7E6A20 #207E6A
tetradic
#6A207E #7E3B20 #347E20 #20637E
square
#6A207E #7E3B20 #347E20 #20637E
split-complementary
#6A207E #637E20 #207E3B
monochromatic
#18071C #41144D #6A207E #932CAF #B348D0

Accessibility & contrast

On white

9.90
#6A207E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#6A207E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A207E
9.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A207E#FFFFFF#000000##FFFFFF
##6A207E1.009.902.129.90
#FFFFFF9.901.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E81
Deuteranopia (green-blind)
#24457C
Tritanopia (blue-blind)
#69334D
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #6a207e;
/* rgb */ color: rgb(106, 32, 126);
/* oklch */ color: oklch(40.3% 0.158 318.1);
Tailwind
colors: {
  custom: {
    50: '#9863a4',
    500: '#6a207e',
    950: '#000000',
  },
}
SCSS
$custom: #6a207e;
$custom-light: #9863a4;
$custom-dark: #000000;
JSON
{
  "hex": "#6a207e",
  "rgb": {
    "r": 106,
    "g": 32,
    "b": 126
  },
  "hsl": {
    "h": 287.234,
    "s": 59.494,
    "l": 30.98
  },
  "oklch": {
    "l": 0.40314,
    "c": 0.15848,
    "h": 318.1
  },
  "luminance": 0.05604
}

Semantic roles & 50–950 ramp

primary
#6A207E
secondary
#5FB149
accent
#E34567
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E060F
muted
#7E7A7F

Preview Lab

Preview with #6A207E

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

Preview Lab → · Contrast checker → · Palette generator →

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