#68228F#68228F

#68228F is a dark, vivid violet. Relative luminance 0.061; OKLCH L 41.5% C 0.172 H 310.2°. Best body text is #FFFFFF at 9.49:1 contrast (WCAG AA passes).

Color values

HEX#68228F
RGBrgb(104, 34, 143)
HSLhsl(279, 62%, 35%)
HSVhsv(279, 76%, 56%)
CMYKcmyk(27.3%, 76.2%, 0%, 43.9%)
CIE-LABlab(29.59, 48.90, -46.36)
CIE-LCHlch(29.59, 67.38, 316.52°)
OKLaboklab(41.49% 0.1109 -0.1314)
OKLCHoklch(41.49% 0.172 310.2)
XYZxyz(11.2379, 6.0705, 26.5610)
Luminance0.0607 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#68228F #498F22
analogous
#31228F #68228F #8F2280
triadic
#68228F #8F6822 #228F68
tetradic
#68228F #8F3122 #498F22 #22808F
square
#68228F #8F3122 #498F22 #22808F
split-complementary
#68228F #808F22 #228F31
monochromatic
#200A2C #44165E #68228F #8C2EC0 #A855D7

Accessibility & contrast

On white

9.49
#68228F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#68228F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #68228F
9.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##68228F#FFFFFF#000000##FFFFFF
##68228F1.009.492.219.49
#FFFFFF9.491.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004392
Deuteranopia (green-blind)
#07478D
Tritanopia (blue-blind)
#633C57
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #68228f;
/* rgb */ color: rgb(104, 34, 143);
/* oklch */ color: oklch(41.5% 0.172 310.2);
Tailwind
colors: {
  custom: {
    50: '#9765b0',
    500: '#68228f',
    950: '#000000',
  },
}
SCSS
$custom: #68228f;
$custom-light: #9765b0;
$custom-dark: #000000;
JSON
{
  "hex": "#68228f",
  "rgb": {
    "r": 104,
    "g": 34,
    "b": 143
  },
  "hsl": {
    "h": 278.532,
    "s": 61.582,
    "l": 34.706
  },
  "oklch": {
    "l": 0.4149,
    "c": 0.17191,
    "h": 310.2
  },
  "luminance": 0.0607
}

Semantic roles & 50–950 ramp

primary
#68228F
secondary
#78BA52
accent
#E5437D
background
#F9F6FA
surface
#F2EBF5
border
#CCC6CF
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #68228F

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

Preview Lab → · Contrast checker → · Palette generator →

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