#68207F#68207F

#68207F is a dark, vivid purple. Relative luminance 0.055; OKLCH L 40.1% C 0.159 H 316.6°. Best body text is #FFFFFF at 9.99:1 contrast (WCAG AA passes).

Color values

HEX#68207F
RGBrgb(104, 32, 127)
HSLhsl(285, 60%, 31%)
HSVhsv(285, 75%, 50%)
CMYKcmyk(18.1%, 74.8%, 0%, 50.2%)
CIE-LABlab(28.14, 46.23, -38.73)
CIE-LCHlch(28.14, 60.31, 320.04°)
OKLaboklab(40.09% 0.1153 -0.109)
OKLCHoklch(40.09% 0.159 316.6)
XYZxyz(10.0556, 5.5088, 20.6082)
Luminance0.0551 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#68207F #377F20
analogous
#38207F #68207F #7F2066
triadic
#68207F #7F6820 #207F68
tetradic
#68207F #7F3820 #377F20 #20667F
square
#68207F #7F3820 #377F20 #20667F
split-complementary
#68207F #667F20 #207F38
monochromatic
#18071D #40144E #68207F #902CB0 #B048D1

Accessibility & contrast

On white

9.99
#68207F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#68207F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #68207F
9.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##68207F#FFFFFF#000000##FFFFFF
##68207F1.009.992.109.99
#FFFFFF9.991.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF9.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E82
Deuteranopia (green-blind)
#21447D
Tritanopia (blue-blind)
#67344D
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #68207f;
/* rgb */ color: rgb(104, 32, 127);
/* oklch */ color: oklch(40.1% 0.159 316.6);
Tailwind
colors: {
  custom: {
    50: '#9663a5',
    500: '#68207f',
    950: '#000000',
  },
}
SCSS
$custom: #68207f;
$custom-light: #9663a5;
$custom-dark: #000000;
JSON
{
  "hex": "#68207f",
  "rgb": {
    "r": 104,
    "g": 32,
    "b": 127
  },
  "hsl": {
    "h": 285.474,
    "s": 59.748,
    "l": 31.176
  },
  "oklch": {
    "l": 0.40091,
    "c": 0.15861,
    "h": 316.6
  },
  "luminance": 0.05508
}

Semantic roles & 50–950 ramp

primary
#68207F
secondary
#62B249
accent
#E3456B
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E060F
muted
#7E7A7F

Preview Lab

Preview with #68207F

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

Preview Lab → · Contrast checker → · Palette generator →

#68207F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva