#6024B1#6024B1

#6024B1 is a dark, highly saturated violet. Relative luminance 0.069; OKLCH L 43.6% C 0.203 H 295.9°. Best body text is #FFFFFF at 8.81:1 contrast (WCAG AA passes).

Color values

HEX#6024B1
RGBrgb(96, 36, 177)
HSLhsl(266, 66%, 42%)
HSVhsv(266, 80%, 69%)
CMYKcmyk(45.8%, 79.7%, 0%, 30.6%)
CIE-LABlab(31.63, 54.85, -63.72)
CIE-LCHlch(31.63, 84.08, 310.73°)
OKLaboklab(43.57% 0.0887 -0.1827)
OKLCHoklch(43.57% 0.203 295.9)
XYZxyz(13.3884, 6.9225, 42.2172)
Luminance0.0692 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6024B1 #75B124
analogous
#242FB1 #6024B1 #A724B1
triadic
#6024B1 #B16024 #24B160
tetradic
#6024B1 #B1242F #75B124 #24B1A7
square
#6024B1 #B1242F #75B124 #24B1A7
split-complementary
#6024B1 #B1A724 #2FB124
monochromatic
#290F4B #441A7E #6024B1 #7D3BD7 #9F6EE1

Accessibility & contrast

On white

8.81
#6024B1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6024B1
8.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6024B1#FFFFFF#000000##FFFFFF
##6024B11.008.812.388.81
#FFFFFF8.811.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BB5
Deuteranopia (green-blind)
#0048AE
Tritanopia (blue-blind)
#494C6B
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #6024b1;
/* rgb */ color: rgb(96, 36, 177);
/* oklch */ color: oklch(43.6% 0.203 295.9);
Tailwind
colors: {
  custom: {
    50: '#9567c9',
    500: '#6024b1',
    950: '#000000',
  },
}
SCSS
$custom: #6024b1;
$custom-light: #9567c9;
$custom-dark: #000000;
JSON
{
  "hex": "#6024b1",
  "rgb": {
    "r": 96,
    "g": 36,
    "b": 177
  },
  "hsl": {
    "h": 265.532,
    "s": 66.197,
    "l": 41.765
  },
  "oklch": {
    "l": 0.43568,
    "c": 0.20307,
    "h": 295.9
  },
  "luminance": 0.06923
}

Semantic roles & 50–950 ramp

primary
#6024B1
secondary
#9FC869
accent
#E93FA1
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0613
muted
#7E7A82

Preview Lab

Preview with #6024B1

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

Preview Lab → · Contrast checker → · Palette generator →

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