#68219F#68219F

#68219F is a dark, vivid violet. Relative luminance 0.065; OKLCH L 42.7% C 0.189 H 305.0°. Best body text is #FFFFFF at 9.10:1 contrast (WCAG AA passes).

Color values

HEX#68219F
RGBrgb(104, 33, 159)
HSLhsl(274, 66%, 38%)
HSVhsv(274, 79%, 62%)
CMYKcmyk(34.6%, 79.2%, 0%, 37.6%)
CIE-LABlab(30.72, 52.95, -54.32)
CIE-LCHlch(30.72, 75.86, 314.26°)
OKLaboklab(42.68% 0.1082 -0.1548)
OKLCHoklch(42.68% 0.189 305)
XYZxyz(12.5094, 6.5340, 33.3963)
Luminance0.0653 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#68219F #589F21
analogous
#29219F #68219F #9F2197
triadic
#68219F #9F6821 #219F68
tetradic
#68219F #9F2921 #589F21 #21979F
square
#68219F #9F2921 #589F21 #21979F
split-complementary
#68219F #979F21 #219F29
monochromatic
#260C3A #47166C #68219F #892CD2 #A55DDD

Accessibility & contrast

On white

9.10
#68219F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#68219F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #68219F
9.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##68219F#FFFFFF#000000##FFFFFF
##68219F1.009.102.319.10
#FFFFFF9.101.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047A2
Deuteranopia (green-blind)
#00489D
Tritanopia (blue-blind)
#5D4260
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #68219f;
/* rgb */ color: rgb(104, 33, 159);
/* oklch */ color: oklch(42.7% 0.189 305.0);
Tailwind
colors: {
  custom: {
    50: '#9965bc',
    500: '#68219f',
    950: '#000000',
  },
}
SCSS
$custom: #68219f;
$custom-light: #9965bc;
$custom-dark: #000000;
JSON
{
  "hex": "#68219f",
  "rgb": {
    "r": 104,
    "g": 33,
    "b": 159
  },
  "hsl": {
    "h": 273.81,
    "s": 65.625,
    "l": 37.647
  },
  "oklch": {
    "l": 0.42683,
    "c": 0.18885,
    "h": 305
  },
  "luminance": 0.06534
}

Semantic roles & 50–950 ramp

primary
#68219F
secondary
#87C25A
accent
#E93F89
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #68219F

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

Preview Lab → · Contrast checker → · Palette generator →

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