#6021AF#6021AF

#6021AF is a dark, highly saturated violet. Relative luminance 0.067; OKLCH L 43.1% C 0.204 H 296.7°. Best body text is #FFFFFF at 9.00:1 contrast (WCAG AA passes).

Color values

HEX#6021AF
RGBrgb(96, 33, 175)
HSLhsl(267, 68%, 41%)
HSVhsv(267, 81%, 69%)
CMYKcmyk(45.1%, 81.1%, 0%, 31.4%)
CIE-LABlab(31.04, 55.53, -63.49)
CIE-LCHlch(31.04, 84.35, 311.17°)
OKLaboklab(43.1% 0.0915 -0.1819)
OKLCHoklch(43.1% 0.204 296.7)
XYZxyz(13.1035, 6.6694, 41.1461)
Luminance0.0667 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6021AF #70AF21
analogous
#2129AF #6021AF #A721AF
triadic
#6021AF #AF6021 #21AF60
tetradic
#6021AF #AF2129 #70AF21 #21AFA7
square
#6021AF #AF2129 #70AF21 #21AFA7
split-complementary
#6021AF #AFA721 #29AF21
monochromatic
#280E48 #44177C #6021AF #7D34D9 #9E68E3

Accessibility & contrast

On white

9.00
#6021AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#6021AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6021AF
9.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6021AF#FFFFFF#000000##FFFFFF
##6021AF1.009.002.339.00
#FFFFFF9.001.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AB3
Deuteranopia (green-blind)
#0047AC
Tritanopia (blue-blind)
#4A4A69
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #6021af;
/* rgb */ color: rgb(96, 33, 175);
/* oklch */ color: oklch(43.1% 0.204 296.7);
Tailwind
colors: {
  custom: {
    50: '#9565c8',
    500: '#6021af',
    950: '#000000',
  },
}
SCSS
$custom: #6021af;
$custom-light: #9565c8;
$custom-dark: #000000;
JSON
{
  "hex": "#6021af",
  "rgb": {
    "r": 96,
    "g": 33,
    "b": 175
  },
  "hsl": {
    "h": 266.62,
    "s": 68.269,
    "l": 40.784
  },
  "oklch": {
    "l": 0.43104,
    "c": 0.20368,
    "h": 296.7
  },
  "luminance": 0.0667
}

Semantic roles & 50–950 ramp

primary
#6021AF
secondary
#9CC864
accent
#EB3D9E
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0613
muted
#7E7A82

Preview Lab

Preview with #6021AF

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

Preview Lab → · Contrast checker → · Palette generator →

#6021AF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva