#6021BD#6021BD

#6021BD is a dark, highly saturated violet. Relative luminance 0.072; OKLCH L 44.4% C 0.218 H 293.5°. Best body text is #FFFFFF at 8.57:1 contrast (WCAG AA passes).

Color values

HEX#6021BD
RGBrgb(96, 33, 189)
HSLhsl(264, 70%, 44%)
HSVhsv(264, 83%, 74%)
CMYKcmyk(49.2%, 82.5%, 0%, 25.9%)
CIE-LABlab(32.37, 59.00, -69.63)
CIE-LCHlch(32.37, 91.27, 310.28°)
OKLaboklab(44.42% 0.0868 -0.1999)
OKLCHoklch(44.42% 0.218 293.5)
XYZxyz(14.5505, 7.2481, 48.7666)
Luminance0.0725 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6021BD #7EBD21
analogous
#2130BD #6021BD #AE21BD
triadic
#6021BD #BD6021 #21BD60
tetradic
#6021BD #BD2130 #7EBD21 #21BDAE
square
#6021BD #BD2130 #7EBD21 #21BDAE
split-complementary
#6021BD #BDAE21 #30BD21
monochromatic
#2B0F55 #461889 #6021BD #7E3EDD #A172E6

Accessibility & contrast

On white

8.57
#6021BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#6021BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6021BD
8.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6021BD#FFFFFF#000000##FFFFFF
##6021BD1.008.572.458.57
#FFFFFF8.571.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EC1
Deuteranopia (green-blind)
#0049BA
Tritanopia (blue-blind)
#425071
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #6021bd;
/* rgb */ color: rgb(96, 33, 189);
/* oklch */ color: oklch(44.4% 0.218 293.5);
Tailwind
colors: {
  custom: {
    50: '#9766d2',
    500: '#6021bd',
    950: '#000000',
  },
}
SCSS
$custom: #6021bd;
$custom-light: #9766d2;
$custom-dark: #000000;
JSON
{
  "hex": "#6021bd",
  "rgb": {
    "r": 96,
    "g": 33,
    "b": 189
  },
  "hsl": {
    "h": 264.231,
    "s": 70.27,
    "l": 43.529
  },
  "oklch": {
    "l": 0.44419,
    "c": 0.21797,
    "h": 293.5
  },
  "luminance": 0.07249
}

Semantic roles & 50–950 ramp

primary
#6021BD
secondary
#A6CD6D
accent
#ED3BA5
background
#F9F6FD
surface
#F2EBFA
border
#CCC6D3
text
#0F0614
muted
#7E7A83

Preview Lab

Preview with #6021BD

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

Preview Lab → · Contrast checker → · Palette generator →

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