#68227D#68227D

#68227D is a dark, vivid purple. Relative luminance 0.056; OKLCH L 40.2% C 0.154 H 317.3°. Best body text is #FFFFFF at 9.94:1 contrast (WCAG AA passes).

Color values

HEX#68227D
RGBrgb(104, 34, 125)
HSLhsl(286, 57%, 31%)
HSVhsv(286, 73%, 49%)
CMYKcmyk(16.8%, 72.8%, 0%, 51%)
CIE-LABlab(28.30, 44.97, -37.22)
CIE-LCHlch(28.30, 58.37, 320.39°)
OKLaboklab(40.16% 0.1133 -0.1045)
OKLCHoklch(40.16% 0.154 317.3)
XYZxyz(9.9821, 5.5682, 19.9470)
Luminance0.0557 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#68227D #377D22
analogous
#3A227D #68227D #7D2264
triadic
#68227D #7D6822 #227D68
tetradic
#68227D #7D3A22 #377D22 #22647D
square
#68227D #7D3A22 #377D22 #22647D
split-complementary
#68227D #647D22 #227D3A
monochromatic
#18081D #40154D #68227D #902FAD #B04BCE

Accessibility & contrast

On white

9.94
#68227D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#68227D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #68227D
9.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##68227D#FFFFFF#000000##FFFFFF
##68227D1.009.942.119.94
#FFFFFF9.941.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E80
Deuteranopia (green-blind)
#24457B
Tritanopia (blue-blind)
#67344D
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #68227d;
/* rgb */ color: rgb(104, 34, 125);
/* oklch */ color: oklch(40.2% 0.154 317.3);
Tailwind
colors: {
  custom: {
    50: '#9664a3',
    500: '#68227d',
    950: '#000000',
  },
}
SCSS
$custom: #68227d;
$custom-light: #9664a3;
$custom-dark: #000000;
JSON
{
  "hex": "#68227d",
  "rgb": {
    "r": 104,
    "g": 34,
    "b": 125
  },
  "hsl": {
    "h": 286.154,
    "s": 57.233,
    "l": 31.176
  },
  "oklch": {
    "l": 0.4016,
    "c": 0.15416,
    "h": 317.3
  },
  "luminance": 0.05568
}

Semantic roles & 50–950 ramp

primary
#68227D
secondary
#62B04B
accent
#E0476B
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E060F
muted
#7E7A7F

Preview Lab

Preview with #68227D

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

Preview Lab → · Contrast checker → · Palette generator →

#68227D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva