#6021BC#6021BC

#6021BC is a dark, highly saturated violet. Relative luminance 0.072; OKLCH L 44.3% C 0.217 H 293.7°. Best body text is #FFFFFF at 8.60:1 contrast (WCAG AA passes).

Color values

HEX#6021BC
RGBrgb(96, 33, 188)
HSLhsl(264, 70%, 43%)
HSVhsv(264, 82%, 74%)
CMYKcmyk(48.9%, 82.4%, 0%, 26.3%)
CIE-LABlab(32.27, 58.75, -69.20)
CIE-LCHlch(32.27, 90.78, 310.33°)
OKLaboklab(44.32% 0.0871 -0.1987)
OKLCHoklch(44.32% 0.217 293.7)
XYZxyz(14.4423, 7.2049, 48.1969)
Luminance0.0721 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6021BC #7DBC21
analogous
#212FBC #6021BC #AD21BC
triadic
#6021BC #BC6021 #21BC60
tetradic
#6021BC #BC212F #7DBC21 #21BCAD
square
#6021BC #BC212F #7DBC21 #21BCAD
split-complementary
#6021BC #BCAD21 #2FBC21
monochromatic
#2B0F54 #451888 #6021BC #7E3DDD #A171E6

Accessibility & contrast

On white

8.60
#6021BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#6021BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6021BC
8.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6021BC#FFFFFF#000000##FFFFFF
##6021BC1.008.602.448.60
#FFFFFF8.601.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EC0
Deuteranopia (green-blind)
#0049B9
Tritanopia (blue-blind)
#435071
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #6021bc;
/* rgb */ color: rgb(96, 33, 188);
/* oklch */ color: oklch(44.3% 0.217 293.7);
Tailwind
colors: {
  custom: {
    50: '#9766d1',
    500: '#6021bc',
    950: '#000000',
  },
}
SCSS
$custom: #6021bc;
$custom-light: #9766d1;
$custom-dark: #000000;
JSON
{
  "hex": "#6021bc",
  "rgb": {
    "r": 96,
    "g": 33,
    "b": 188
  },
  "hsl": {
    "h": 264.387,
    "s": 70.136,
    "l": 43.333
  },
  "oklch": {
    "l": 0.44323,
    "c": 0.21694,
    "h": 293.7
  },
  "luminance": 0.07205
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6021BC

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

Preview Lab → · Contrast checker → · Palette generator →

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