#68229A#68229A

#68229A is a dark, vivid violet. Relative luminance 0.064; OKLCH L 42.4% C 0.183 H 306.4°. Best body text is #FFFFFF at 9.19:1 contrast (WCAG AA passes).

Color values

HEX#68229A
RGBrgb(104, 34, 154)
HSLhsl(275, 64%, 37%)
HSVhsv(275, 78%, 60%)
CMYKcmyk(32.5%, 77.9%, 0%, 39.6%)
CIE-LABlab(30.45, 51.40, -51.72)
CIE-LCHlch(30.45, 72.92, 314.82°)
OKLaboklab(42.37% 0.1086 -0.1471)
OKLCHoklch(42.37% 0.183 306.4)
XYZxyz(12.1124, 6.4203, 31.1667)
Luminance0.0642 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#68229A #549A22
analogous
#2C229A #68229A #9A2290
triadic
#68229A #9A6822 #229A68
tetradic
#68229A #9A2C22 #549A22 #22909A
square
#68229A #9A2C22 #549A22 #22909A
split-complementary
#68229A #909A22 #229A2C
monochromatic
#240C36 #461768 #68229A #8A2DCC #A65BDB

Accessibility & contrast

On white

9.19
#68229A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#68229A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #68229A
9.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##68229A#FFFFFF#000000##FFFFFF
##68229A1.009.192.289.19
#FFFFFF9.191.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00469D
Deuteranopia (green-blind)
#004898
Tritanopia (blue-blind)
#5F405D
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #68229a;
/* rgb */ color: rgb(104, 34, 154);
/* oklch */ color: oklch(42.4% 0.183 306.4);
Tailwind
colors: {
  custom: {
    50: '#9865b9',
    500: '#68229a',
    950: '#000000',
  },
}
SCSS
$custom: #68229a;
$custom-light: #9865b9;
$custom-dark: #000000;
JSON
{
  "hex": "#68229a",
  "rgb": {
    "r": 104,
    "g": 34,
    "b": 154
  },
  "hsl": {
    "h": 275,
    "s": 63.83,
    "l": 36.863
  },
  "oklch": {
    "l": 0.42365,
    "c": 0.18286,
    "h": 306.4
  },
  "luminance": 0.0642
}

Semantic roles & 50–950 ramp

primary
#68229A
secondary
#83BF58
accent
#E74186
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #68229A

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

Preview Lab → · Contrast checker → · Palette generator →

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