#6023A6#6023A6

#6023A6 is a dark, vivid violet. Relative luminance 0.064; OKLCH L 42.5% C 0.193 H 298.8°. Best body text is #FFFFFF at 9.18:1 contrast (WCAG AA passes).

Color values

HEX#6023A6
RGBrgb(96, 35, 166)
HSLhsl(268, 65%, 39%)
HSVhsv(268, 79%, 65%)
CMYKcmyk(42.2%, 78.9%, 0%, 34.9%)
CIE-LABlab(30.50, 52.51, -58.97)
CIE-LCHlch(30.50, 78.96, 311.69°)
OKLaboklab(42.48% 0.0928 -0.1687)
OKLCHoklch(42.48% 0.193 298.8)
XYZxyz(12.3061, 6.4419, 36.6640)
Luminance0.0644 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6023A6 #69A623
analogous
#2328A6 #6023A6 #A223A6
triadic
#6023A6 #A66023 #23A660
tetradic
#6023A6 #A62328 #69A623 #23A6A2
square
#6023A6 #A62328 #69A623 #23A6A2
split-complementary
#6023A6 #A6A223 #28A623
monochromatic
#260E41 #431873 #6023A6 #7E32D4 #9E65DF

Accessibility & contrast

On white

9.18
#6023A6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#6023A6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6023A6
9.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6023A6#FFFFFF#000000##FFFFFF
##6023A61.009.182.299.18
#FFFFFF9.181.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048AA
Deuteranopia (green-blind)
#0047A4
Tritanopia (blue-blind)
#4F4764
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #6023a6;
/* rgb */ color: rgb(96, 35, 166);
/* oklch */ color: oklch(42.5% 0.193 298.8);
Tailwind
colors: {
  custom: {
    50: '#9465c1',
    500: '#6023a6',
    950: '#000000',
  },
}
SCSS
$custom: #6023a6;
$custom-light: #9465c1;
$custom-dark: #000000;
JSON
{
  "hex": "#6023a6",
  "rgb": {
    "r": 96,
    "g": 35,
    "b": 166
  },
  "hsl": {
    "h": 267.939,
    "s": 65.174,
    "l": 39.412
  },
  "oklch": {
    "l": 0.42479,
    "c": 0.19254,
    "h": 298.8
  },
  "luminance": 0.06442
}

Semantic roles & 50–950 ramp

primary
#6023A6
secondary
#96C461
accent
#E8409A
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #6023A6

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

Preview Lab → · Contrast checker → · Palette generator →

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