#68227E#68227E

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

Color values

HEX#68227E
RGBrgb(104, 34, 126)
HSLhsl(286, 58%, 31%)
HSVhsv(286, 73%, 49%)
CMYKcmyk(17.5%, 73%, 0%, 50.6%)
CIE-LABlab(28.36, 45.18, -37.74)
CIE-LCHlch(28.36, 58.87, 320.13°)
OKLaboklab(40.23% 0.1132 -0.1061)
OKLCHoklch(40.23% 0.155 316.9)
XYZxyz(10.0463, 5.5939, 20.2852)
Luminance0.0559 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#68227E #387E22
analogous
#3A227E #68227E #7E2266
triadic
#68227E #7E6822 #227E68
tetradic
#68227E #7E3A22 #387E22 #22667E
square
#68227E #7E3A22 #387E22 #22667E
split-complementary
#68227E #667E22 #227E3A
monochromatic
#18081E #40154E #68227E #902FAE #AF4CCF

Accessibility & contrast

On white

9.91
#68227E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#68227E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #68227E
9.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##68227E#FFFFFF#000000##FFFFFF
##68227E1.009.912.129.91
#FFFFFF9.911.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F81
Deuteranopia (green-blind)
#23457C
Tritanopia (blue-blind)
#67344D
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #68227e;
/* rgb */ color: rgb(104, 34, 126);
/* oklch */ color: oklch(40.2% 0.155 316.9);
Tailwind
colors: {
  custom: {
    50: '#9664a4',
    500: '#68227e',
    950: '#000000',
  },
}
SCSS
$custom: #68227e;
$custom-light: #9664a4;
$custom-dark: #000000;
JSON
{
  "hex": "#68227e",
  "rgb": {
    "r": 104,
    "g": 34,
    "b": 126
  },
  "hsl": {
    "h": 285.652,
    "s": 57.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.4023,
    "c": 0.15514,
    "h": 316.9
  },
  "luminance": 0.05593
}

Semantic roles & 50–950 ramp

primary
#68227E
secondary
#63B14B
accent
#E1476C
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E060F
muted
#7E7A7F

Preview Lab

Preview with #68227E

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

Preview Lab → · Contrast checker → · Palette generator →

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