#68218E#68218E

#68218E is a dark, vivid violet. Relative luminance 0.060; OKLCH L 41.3% C 0.172 H 310.6°. Best body text is #FFFFFF at 9.56:1 contrast (WCAG AA passes).

Color values

HEX#68218E
RGBrgb(104, 33, 142)
HSLhsl(279, 62%, 34%)
HSVhsv(279, 77%, 56%)
CMYKcmyk(26.8%, 76.8%, 0%, 44.3%)
CIE-LABlab(29.37, 49.08, -46.10)
CIE-LCHlch(29.37, 67.33, 316.80°)
OKLaboklab(41.31% 0.112 -0.1306)
OKLCHoklch(41.31% 0.172 310.6)
XYZxyz(11.1343, 5.9840, 26.1544)
Luminance0.0598 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#68218E #478E21
analogous
#32218E #68218E #8E217E
triadic
#68218E #8E6821 #218E68
tetradic
#68218E #8E3221 #478E21 #217E8E
square
#68218E #8E3221 #478E21 #217E8E
split-complementary
#68218E #7E8E21 #218E32
monochromatic
#1F0A2B #44155C #68218E #8C2DC0 #A952D7

Accessibility & contrast

On white

9.56
#68218E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #68218E
9.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##68218E#FFFFFF#000000##FFFFFF
##68218E1.009.562.209.56
#FFFFFF9.561.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004291
Deuteranopia (green-blind)
#07468C
Tritanopia (blue-blind)
#633B56
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #68218e;
/* rgb */ color: rgb(104, 33, 142);
/* oklch */ color: oklch(41.3% 0.172 310.6);
Tailwind
colors: {
  custom: {
    50: '#9764b0',
    500: '#68218e',
    950: '#000000',
  },
}
SCSS
$custom: #68218e;
$custom-light: #9764b0;
$custom-dark: #000000;
JSON
{
  "hex": "#68218e",
  "rgb": {
    "r": 104,
    "g": 33,
    "b": 142
  },
  "hsl": {
    "h": 279.083,
    "s": 62.286,
    "l": 34.314
  },
  "oklch": {
    "l": 0.41312,
    "c": 0.17205,
    "h": 310.6
  },
  "luminance": 0.05984
}

Semantic roles & 50–950 ramp

primary
#68218E
secondary
#75BA50
accent
#E5427B
background
#F9F6FA
surface
#F2EBF5
border
#CCC6CF
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #68218E

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

Preview Lab → · Contrast checker → · Palette generator →

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