#68227A#68227A

#68227A is a dark, vivid purple. Relative luminance 0.055; OKLCH L 40.0% C 0.151 H 318.6°. Best body text is #FFFFFF at 10.01:1 contrast (WCAG AA passes).

Color values

HEX#68227A
RGBrgb(104, 34, 122)
HSLhsl(288, 56%, 31%)
HSVhsv(288, 72%, 48%)
CMYKcmyk(14.8%, 72.1%, 0%, 52.2%)
CIE-LABlab(28.09, 44.34, -35.64)
CIE-LCHlch(28.09, 56.89, 321.21°)
OKLaboklab(39.95% 0.1135 -0.0999)
OKLCHoklch(39.95% 0.151 318.6)
XYZxyz(9.7933, 5.4927, 18.9529)
Luminance0.0549 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#68227A #347A22
analogous
#3C227A #68227A #7A2260
triadic
#68227A #7A6822 #227A68
tetradic
#68227A #7A3C22 #347A22 #22607A
square
#68227A #7A3C22 #347A22 #22607A
split-complementary
#68227A #607A22 #227A3C
monochromatic
#16071A #3F154A #68227A #912FAA #B24ACD

Accessibility & contrast

On white

10.01
#68227A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#68227A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #68227A
10.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##68227A#FFFFFF#000000##FFFFFF
##68227A1.0010.012.1010.01
#FFFFFF10.011.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E7D
Deuteranopia (green-blind)
#274578
Tritanopia (blue-blind)
#68334B
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #68227a;
/* rgb */ color: rgb(104, 34, 122);
/* oklch */ color: oklch(40.0% 0.151 318.6);
Tailwind
colors: {
  custom: {
    50: '#9664a1',
    500: '#68227a',
    950: '#000000',
  },
}
SCSS
$custom: #68227a;
$custom-light: #9664a1;
$custom-dark: #000000;
JSON
{
  "hex": "#68227a",
  "rgb": {
    "r": 104,
    "g": 34,
    "b": 122
  },
  "hsl": {
    "h": 287.727,
    "s": 56.41,
    "l": 30.588
  },
  "oklch": {
    "l": 0.39952,
    "c": 0.15124,
    "h": 318.6
  },
  "luminance": 0.05492
}

Semantic roles & 50–950 ramp

primary
#68227A
secondary
#5FAD4B
accent
#E04867
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0E060F
muted
#7E7A7E

Preview Lab

Preview with #68227A

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

Preview Lab → · Contrast checker → · Palette generator →

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