#68218F#68218F

#68218F is a dark, vivid violet. Relative luminance 0.060; OKLCH L 41.4% C 0.173 H 310.3°. Best body text is #FFFFFF at 9.53:1 contrast (WCAG AA passes).

Color values

HEX#68218F
RGBrgb(104, 33, 143)
HSLhsl(279, 63%, 35%)
HSVhsv(279, 77%, 56%)
CMYKcmyk(27.3%, 76.9%, 0%, 43.9%)
CIE-LABlab(29.45, 49.30, -46.59)
CIE-LCHlch(29.45, 67.84, 316.62°)
OKLaboklab(41.39% 0.1118 -0.132)
OKLCHoklch(41.39% 0.173 310.3)
XYZxyz(11.2097, 6.0142, 26.5516)
Luminance0.0601 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#68218F #488F21
analogous
#31218F #68218F #8F217F
triadic
#68218F #8F6821 #218F68
tetradic
#68218F #8F3121 #488F21 #217F8F
square
#68218F #8F3121 #488F21 #217F8F
split-complementary
#68218F #7F8F21 #218F31
monochromatic
#200A2C #44165D #68218F #8C2CC1 #A853D7

Accessibility & contrast

On white

9.53
#68218F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#68218F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #68218F
9.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##68218F#FFFFFF#000000##FFFFFF
##68218F1.009.532.209.53
#FFFFFF9.531.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004292
Deuteranopia (green-blind)
#04468D
Tritanopia (blue-blind)
#633B57
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #68218f;
/* rgb */ color: rgb(104, 33, 143);
/* oklch */ color: oklch(41.4% 0.173 310.3);
Tailwind
colors: {
  custom: {
    50: '#9764b0',
    500: '#68218f',
    950: '#000000',
  },
}
SCSS
$custom: #68218f;
$custom-light: #9764b0;
$custom-dark: #000000;
JSON
{
  "hex": "#68218f",
  "rgb": {
    "r": 104,
    "g": 33,
    "b": 143
  },
  "hsl": {
    "h": 278.727,
    "s": 62.5,
    "l": 34.51
  },
  "oklch": {
    "l": 0.4139,
    "c": 0.17304,
    "h": 310.3
  },
  "luminance": 0.06014
}

Semantic roles & 50–950 ramp

primary
#68218F
secondary
#76BB51
accent
#E6427C
background
#F9F6FA
surface
#F2EBF5
border
#CCC6CF
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #68218F

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

Preview Lab → · Contrast checker → · Palette generator →

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