#68228C#68228C

#68228C is a dark, vivid violet. Relative luminance 0.060; OKLCH L 41.3% C 0.169 H 311.3°. Best body text is #FFFFFF at 9.56:1 contrast (WCAG AA passes).

Color values

HEX#68228C
RGBrgb(104, 34, 140)
HSLhsl(280, 61%, 34%)
HSVhsv(280, 76%, 55%)
CMYKcmyk(25.7%, 75.7%, 0%, 45.1%)
CIE-LABlab(29.36, 48.23, -44.87)
CIE-LCHlch(29.36, 65.88, 317.06°)
OKLaboklab(41.26% 0.1114 -0.127)
OKLCHoklch(41.26% 0.169 311.3)
XYZxyz(11.0137, 5.9808, 25.3801)
Luminance0.0598 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#68228C #468C22
analogous
#33228C #68228C #8C227B
triadic
#68228C #8C6822 #228C68
tetradic
#68228C #8C3322 #468C22 #227B8C
square
#68228C #8C3322 #468C22 #227B8C
split-complementary
#68228C #7B8C22 #228C33
monochromatic
#1F0A2A #43165B #68228C #8D2EBD #A953D5

Accessibility & contrast

On white

9.56
#68228C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#68228C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #68228C
9.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##68228C#FFFFFF#000000##FFFFFF
##68228C1.009.562.209.56
#FFFFFF9.561.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00428F
Deuteranopia (green-blind)
#0F468A
Tritanopia (blue-blind)
#633A55
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #68228c;
/* rgb */ color: rgb(104, 34, 140);
/* oklch */ color: oklch(41.3% 0.169 311.3);
Tailwind
colors: {
  custom: {
    50: '#9765ae',
    500: '#68228c',
    950: '#000000',
  },
}
SCSS
$custom: #68228c;
$custom-light: #9765ae;
$custom-dark: #000000;
JSON
{
  "hex": "#68228c",
  "rgb": {
    "r": 104,
    "g": 34,
    "b": 140
  },
  "hsl": {
    "h": 279.623,
    "s": 60.92,
    "l": 34.118
  },
  "oklch": {
    "l": 0.41259,
    "c": 0.16893,
    "h": 311.3
  },
  "luminance": 0.05981
}

Semantic roles & 50–950 ramp

primary
#68228C
secondary
#74B951
accent
#E4447A
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #68228C

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

Preview Lab → · Contrast checker → · Palette generator →

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