#68219B#68219B

#68219B is a dark, vivid violet. Relative luminance 0.064; OKLCH L 42.4% C 0.185 H 306.2°. Best body text is #FFFFFF at 9.21:1 contrast (WCAG AA passes).

Color values

HEX#68219B
RGBrgb(104, 33, 155)
HSLhsl(275, 65%, 37%)
HSVhsv(275, 79%, 61%)
CMYKcmyk(32.9%, 78.7%, 0%, 39.2%)
CIE-LABlab(30.39, 52.02, -52.42)
CIE-LCHlch(30.39, 73.86, 314.78°)
OKLaboklab(42.35% 0.1092 -0.1492)
OKLCHoklch(42.35% 0.185 306.2)
XYZxyz(12.1679, 6.3974, 31.5978)
Luminance0.0640 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#68219B #549B21
analogous
#2B219B #68219B #9B2191
triadic
#68219B #9B6821 #219B68
tetradic
#68219B #9B2B21 #549B21 #21919B
square
#68219B #9B2B21 #549B21 #21919B
split-complementary
#68219B #919B21 #219B2B
monochromatic
#240C36 #461669 #68219B #8A2CCD #A65ADC

Accessibility & contrast

On white

9.21
#68219B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#68219B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #68219B
9.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##68219B#FFFFFF#000000##FFFFFF
##68219B1.009.212.289.21
#FFFFFF9.211.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00459E
Deuteranopia (green-blind)
#004899
Tritanopia (blue-blind)
#5F405E
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #68219b;
/* rgb */ color: rgb(104, 33, 155);
/* oklch */ color: oklch(42.4% 0.185 306.2);
Tailwind
colors: {
  custom: {
    50: '#9865b9',
    500: '#68219b',
    950: '#000000',
  },
}
SCSS
$custom: #68219b;
$custom-light: #9865b9;
$custom-dark: #000000;
JSON
{
  "hex": "#68219b",
  "rgb": {
    "r": 104,
    "g": 33,
    "b": 155
  },
  "hsl": {
    "h": 274.918,
    "s": 64.894,
    "l": 36.863
  },
  "oklch": {
    "l": 0.42351,
    "c": 0.18489,
    "h": 306.2
  },
  "luminance": 0.06397
}

Semantic roles & 50–950 ramp

primary
#68219B
secondary
#83C058
accent
#E84086
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #68219B

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

Preview Lab → · Contrast checker → · Palette generator →

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