#6024AF#6024AF

#6024AF is a dark, highly saturated violet. Relative luminance 0.068; OKLCH L 43.4% C 0.201 H 296.4°. Best body text is #FFFFFF at 8.87:1 contrast (WCAG AA passes).

Color values

HEX#6024AF
RGBrgb(96, 36, 175)
HSLhsl(266, 66%, 41%)
HSVhsv(266, 79%, 69%)
CMYKcmyk(45.1%, 79.4%, 0%, 31.4%)
CIE-LABlab(31.45, 54.35, -62.82)
CIE-LCHlch(31.45, 83.07, 310.87°)
OKLaboklab(43.39% 0.0893 -0.18)
OKLCHoklch(43.39% 0.201 296.4)
XYZxyz(13.1905, 6.8434, 41.1751)
Luminance0.0684 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6024AF #73AF24
analogous
#242EAF #6024AF #A624AF
triadic
#6024AF #AF6024 #24AF60
tetradic
#6024AF #AF242E #73AF24 #24AFA6
square
#6024AF #AF242E #73AF24 #24AFA6
split-complementary
#6024AF #AFA624 #2EAF24
monochromatic
#280F49 #441A7C #6024AF #7D3AD6 #9F6DE1

Accessibility & contrast

On white

8.87
#6024AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#6024AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6024AF
8.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6024AF#FFFFFF#000000##FFFFFF
##6024AF1.008.872.378.87
#FFFFFF8.871.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BB3
Deuteranopia (green-blind)
#0048AC
Tritanopia (blue-blind)
#4A4B6A
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #6024af;
/* rgb */ color: rgb(96, 36, 175);
/* oklch */ color: oklch(43.4% 0.201 296.4);
Tailwind
colors: {
  custom: {
    50: '#9566c8',
    500: '#6024af',
    950: '#000000',
  },
}
SCSS
$custom: #6024af;
$custom-light: #9566c8;
$custom-dark: #000000;
JSON
{
  "hex": "#6024af",
  "rgb": {
    "r": 96,
    "g": 36,
    "b": 175
  },
  "hsl": {
    "h": 265.899,
    "s": 65.877,
    "l": 41.373
  },
  "oklch": {
    "l": 0.43385,
    "c": 0.20098,
    "h": 296.4
  },
  "luminance": 0.06844
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6024AF

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

Preview Lab → · Contrast checker → · Palette generator →

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