#68218C#68218C

#68218C is a dark, vivid violet. Relative luminance 0.059; OKLCH L 41.2% C 0.170 H 311.4°. Best body text is #FFFFFF at 9.61:1 contrast (WCAG AA passes).

Color values

HEX#68218C
RGBrgb(104, 33, 140)
HSLhsl(280, 62%, 34%)
HSVhsv(280, 76%, 55%)
CMYKcmyk(25.7%, 76.4%, 0%, 45.1%)
CIE-LABlab(29.22, 48.64, -45.10)
CIE-LCHlch(29.22, 66.33, 317.16°)
OKLaboklab(41.16% 0.1124 -0.1277)
OKLCHoklch(41.16% 0.17 311.4)
XYZxyz(10.9855, 5.9245, 25.3707)
Luminance0.0592 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#68218C #458C21
analogous
#33218C #68218C #8C217B
triadic
#68218C #8C6821 #218C68
tetradic
#68218C #8C3321 #458C21 #217B8C
square
#68218C #8C3321 #458C21 #217B8C
split-complementary
#68218C #7B8C21 #218C33
monochromatic
#1E0A29 #43155A #68218C #8D2DBE #A951D6

Accessibility & contrast

On white

9.61
#68218C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#68218C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #68218C
9.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##68218C#FFFFFF#000000##FFFFFF
##68218C1.009.612.189.61
#FFFFFF9.611.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.611.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #68218c;
/* rgb */ color: rgb(104, 33, 140);
/* oklch */ color: oklch(41.2% 0.170 311.4);
Tailwind
colors: {
  custom: {
    50: '#9764ae',
    500: '#68218c',
    950: '#000000',
  },
}
SCSS
$custom: #68218c;
$custom-light: #9764ae;
$custom-dark: #000000;
JSON
{
  "hex": "#68218c",
  "rgb": {
    "r": 104,
    "g": 33,
    "b": 140
  },
  "hsl": {
    "h": 279.813,
    "s": 61.85,
    "l": 33.922
  },
  "oklch": {
    "l": 0.41158,
    "c": 0.17009,
    "h": 311.4
  },
  "luminance": 0.05924
}

Semantic roles & 50–950 ramp

primary
#68218C
secondary
#73B94F
accent
#E54379
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #68218C

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

Preview Lab → · Contrast checker → · Palette generator →

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