#68228B#68228B

#68228B is a dark, vivid purple. Relative luminance 0.060; OKLCH L 41.2% C 0.168 H 311.6°. Best body text is #FFFFFF at 9.59:1 contrast (WCAG AA passes).

Color values

HEX#68228B
RGBrgb(104, 34, 139)
HSLhsl(280, 61%, 34%)
HSVhsv(280, 76%, 55%)
CMYKcmyk(25.2%, 75.5%, 0%, 45.5%)
CIE-LABlab(29.29, 48.01, -44.37)
CIE-LCHlch(29.29, 65.37, 317.25°)
OKLaboklab(41.18% 0.1116 -0.1255)
OKLCHoklch(41.18% 0.168 311.6)
XYZxyz(10.9403, 5.9515, 24.9935)
Luminance0.0595 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#68228B #458B22
analogous
#34228B #68228B #8B227A
triadic
#68228B #8B6822 #228B68
tetradic
#68228B #8B3422 #458B22 #227A8B
square
#68228B #8B3422 #458B22 #227A8B
split-complementary
#68228B #7A8B22 #228B34
monochromatic
#1E0A29 #43165A #68228B #8D2EBC #A953D5

Accessibility & contrast

On white

9.59
#68228B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#68228B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #68228B
9.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##68228B#FFFFFF#000000##FFFFFF
##68228B1.009.592.199.59
#FFFFFF9.591.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00428E
Deuteranopia (green-blind)
#114689
Tritanopia (blue-blind)
#643A55
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #68228b;
/* rgb */ color: rgb(104, 34, 139);
/* oklch */ color: oklch(41.2% 0.168 311.6);
Tailwind
colors: {
  custom: {
    50: '#9765ae',
    500: '#68228b',
    950: '#000000',
  },
}
SCSS
$custom: #68228b;
$custom-light: #9765ae;
$custom-dark: #000000;
JSON
{
  "hex": "#68228b",
  "rgb": {
    "r": 104,
    "g": 34,
    "b": 139
  },
  "hsl": {
    "h": 280,
    "s": 60.694,
    "l": 33.922
  },
  "oklch": {
    "l": 0.41183,
    "c": 0.16795,
    "h": 311.6
  },
  "luminance": 0.05951
}

Semantic roles & 50–950 ramp

primary
#68228B
secondary
#73B850
accent
#E44479
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #68228B

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

Preview Lab → · Contrast checker → · Palette generator →

#68228B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva