#6024B0#6024B0

#6024B0 is a dark, highly saturated violet. Relative luminance 0.069; OKLCH L 43.5% C 0.202 H 296.1°. Best body text is #FFFFFF at 8.84:1 contrast (WCAG AA passes).

Color values

HEX#6024B0
RGBrgb(96, 36, 176)
HSLhsl(266, 66%, 42%)
HSVhsv(266, 80%, 69%)
CMYKcmyk(45.5%, 79.5%, 0%, 31%)
CIE-LABlab(31.54, 54.60, -63.27)
CIE-LCHlch(31.54, 83.57, 310.79°)
OKLaboklab(43.48% 0.089 -0.1813)
OKLCHoklch(43.48% 0.202 296.1)
XYZxyz(13.2891, 6.8828, 41.6942)
Luminance0.0688 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6024B0 #74B024
analogous
#242EB0 #6024B0 #A624B0
triadic
#6024B0 #B06024 #24B060
tetradic
#6024B0 #B0242E #74B024 #24B0A6
square
#6024B0 #B0242E #74B024 #24B0A6
split-complementary
#6024B0 #B0A624 #2EB024
monochromatic
#290F4A #441A7D #6024B0 #7D3AD7 #9F6DE1

Accessibility & contrast

On white

8.84
#6024B0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#6024B0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6024B0
8.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6024B0#FFFFFF#000000##FFFFFF
##6024B01.008.842.388.84
#FFFFFF8.841.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BB4
Deuteranopia (green-blind)
#0048AD
Tritanopia (blue-blind)
#4A4C6A
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #6024b0;
/* rgb */ color: rgb(96, 36, 176);
/* oklch */ color: oklch(43.5% 0.202 296.1);
Tailwind
colors: {
  custom: {
    50: '#9566c9',
    500: '#6024b0',
    950: '#000000',
  },
}
SCSS
$custom: #6024b0;
$custom-light: #9566c9;
$custom-dark: #000000;
JSON
{
  "hex": "#6024b0",
  "rgb": {
    "r": 96,
    "g": 36,
    "b": 176
  },
  "hsl": {
    "h": 265.714,
    "s": 66.038,
    "l": 41.569
  },
  "oklch": {
    "l": 0.43476,
    "c": 0.20202,
    "h": 296.1
  },
  "luminance": 0.06883
}

Semantic roles & 50–950 ramp

primary
#6024B0
secondary
#9FC868
accent
#E93FA0
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0613
muted
#7E7A82

Preview Lab

Preview with #6024B0

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

Preview Lab → · Contrast checker → · Palette generator →

#6024B0 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva