#6023AC#6023AC

#6023AC is a dark, vivid violet. Relative luminance 0.067; OKLCH L 43.0% C 0.199 H 297.2°. Best body text is #FFFFFF at 9.00:1 contrast (WCAG AA passes).

Color values

HEX#6023AC
RGBrgb(96, 35, 172)
HSLhsl(267, 66%, 41%)
HSVhsv(267, 80%, 67%)
CMYKcmyk(44.2%, 79.7%, 0%, 32.5%)
CIE-LABlab(31.04, 54.00, -61.70)
CIE-LCHlch(31.04, 82.00, 311.19°)
OKLaboklab(43.02% 0.091 -0.1767)
OKLCHoklch(43.02% 0.199 297.2)
XYZxyz(12.8693, 6.6672, 39.6306)
Luminance0.0667 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6023AC #6FAC23
analogous
#232BAC #6023AC #A423AC
triadic
#6023AC #AC6023 #23AC60
tetradic
#6023AC #AC232B #6FAC23 #23ACA4
square
#6023AC #AC232B #6FAC23 #23ACA4
split-complementary
#6023AC #ACA423 #2BAC23
monochromatic
#270E46 #441979 #6023AC #7D36D6 #9E69E0

Accessibility & contrast

On white

9.00
#6023AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#6023AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6023AC
9.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6023AC#FFFFFF#000000##FFFFFF
##6023AC1.009.002.339.00
#FFFFFF9.001.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049B0
Deuteranopia (green-blind)
#0047A9
Tritanopia (blue-blind)
#4C4968
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #6023ac;
/* rgb */ color: rgb(96, 35, 172);
/* oklch */ color: oklch(43.0% 0.199 297.2);
Tailwind
colors: {
  custom: {
    50: '#9566c6',
    500: '#6023ac',
    950: '#000000',
  },
}
SCSS
$custom: #6023ac;
$custom-light: #9566c6;
$custom-dark: #000000;
JSON
{
  "hex": "#6023ac",
  "rgb": {
    "r": 96,
    "g": 35,
    "b": 172
  },
  "hsl": {
    "h": 266.715,
    "s": 66.184,
    "l": 40.588
  },
  "oklch": {
    "l": 0.43016,
    "c": 0.19879,
    "h": 297.2
  },
  "luminance": 0.06667
}

Semantic roles & 50–950 ramp

primary
#6023AC
secondary
#9BC664
accent
#E93F9D
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0613
muted
#7E7A82

Preview Lab

Preview with #6023AC

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

Preview Lab → · Contrast checker → · Palette generator →

#6023AC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva