#68218D#68218D

#68218D is a dark, vivid violet. Relative luminance 0.060; OKLCH L 41.2% C 0.171 H 311.0°. Best body text is #FFFFFF at 9.59:1 contrast (WCAG AA passes).

Color values

HEX#68218D
RGBrgb(104, 33, 141)
HSLhsl(279, 62%, 34%)
HSVhsv(279, 77%, 55%)
CMYKcmyk(26.2%, 76.6%, 0%, 44.7%)
CIE-LABlab(29.30, 48.86, -45.60)
CIE-LCHlch(29.30, 66.83, 316.98°)
OKLaboklab(41.24% 0.1122 -0.1291)
OKLCHoklch(41.24% 0.171 311)
XYZxyz(11.0596, 5.9541, 25.7608)
Luminance0.0595 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#68218D #468D21
analogous
#32218D #68218D #8D217C
triadic
#68218D #8D6821 #218D68
tetradic
#68218D #8D3221 #468D21 #217C8D
square
#68218D #8D3221 #468D21 #217C8D
split-complementary
#68218D #7C8D21 #218D32
monochromatic
#1F0A2A #43155B #68218D #8D2DBF #A952D6

Accessibility & contrast

On white

9.59
#68218D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#68218D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #68218D
9.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##68218D#FFFFFF#000000##FFFFFF
##68218D1.009.592.199.59
#FFFFFF9.591.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004290
Deuteranopia (green-blind)
#0B468B
Tritanopia (blue-blind)
#633A56
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #68218d;
/* rgb */ color: rgb(104, 33, 141);
/* oklch */ color: oklch(41.2% 0.171 311.0);
Tailwind
colors: {
  custom: {
    50: '#9764af',
    500: '#68218d',
    950: '#000000',
  },
}
SCSS
$custom: #68218d;
$custom-light: #9764af;
$custom-dark: #000000;
JSON
{
  "hex": "#68218d",
  "rgb": {
    "r": 104,
    "g": 33,
    "b": 141
  },
  "hsl": {
    "h": 279.444,
    "s": 62.069,
    "l": 34.118
  },
  "oklch": {
    "l": 0.41235,
    "c": 0.17107,
    "h": 311
  },
  "luminance": 0.05954
}

Semantic roles & 50–950 ramp

primary
#68218D
secondary
#74BA50
accent
#E5437A
background
#F9F6FA
surface
#F2EBF5
border
#CCC6CF
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #68218D

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

Preview Lab → · Contrast checker → · Palette generator →

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