#6A207F#6A207F

#6A207F is a dark, vivid purple. Relative luminance 0.056; OKLCH L 40.4% C 0.159 H 317.7°. Best body text is #FFFFFF at 9.88:1 contrast (WCAG AA passes).

Color values

HEX#6A207F
RGBrgb(106, 32, 127)
HSLhsl(287, 60%, 31%)
HSVhsv(287, 75%, 50%)
CMYKcmyk(16.5%, 74.8%, 0%, 50.2%)
CIE-LABlab(28.46, 46.67, -38.20)
CIE-LCHlch(28.46, 60.31, 320.70°)
OKLaboklab(40.39% 0.1179 -0.1073)
OKLCHoklch(40.39% 0.159 317.7)
XYZxyz(10.2906, 5.6300, 20.6192)
Luminance0.0563 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A207F #357F20
analogous
#3A207F #6A207F #7F2064
triadic
#6A207F #7F6A20 #207F6A
tetradic
#6A207F #7F3A20 #357F20 #20647F
square
#6A207F #7F3A20 #357F20 #20647F
split-complementary
#6A207F #647F20 #207F3A
monochromatic
#18071D #41144E #6A207F #932CB0 #B348D1

Accessibility & contrast

On white

9.88
#6A207F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#6A207F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A207F
9.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A207F#FFFFFF#000000##FFFFFF
##6A207F1.009.882.139.88
#FFFFFF9.881.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E82
Deuteranopia (green-blind)
#23457D
Tritanopia (blue-blind)
#69334D
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #6a207f;
/* rgb */ color: rgb(106, 32, 127);
/* oklch */ color: oklch(40.4% 0.159 317.7);
Tailwind
colors: {
  custom: {
    50: '#9863a5',
    500: '#6a207f',
    950: '#000000',
  },
}
SCSS
$custom: #6a207f;
$custom-light: #9863a5;
$custom-dark: #000000;
JSON
{
  "hex": "#6a207f",
  "rgb": {
    "r": 106,
    "g": 32,
    "b": 127
  },
  "hsl": {
    "h": 286.737,
    "s": 59.748,
    "l": 31.176
  },
  "oklch": {
    "l": 0.40385,
    "c": 0.15943,
    "h": 317.7
  },
  "luminance": 0.0563
}

Semantic roles & 50–950 ramp

primary
#6A207F
secondary
#60B249
accent
#E34568
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E060F
muted
#7E7A7F

Preview Lab

Preview with #6A207F

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

Preview Lab → · Contrast checker → · Palette generator →

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