#6023A8#6023A8

#6023A8 is a dark, vivid violet. Relative luminance 0.065; OKLCH L 42.7% C 0.195 H 298.3°. Best body text is #FFFFFF at 9.12:1 contrast (WCAG AA passes).

Color values

HEX#6023A8
RGBrgb(96, 35, 168)
HSLhsl(268, 66%, 40%)
HSVhsv(268, 79%, 66%)
CMYKcmyk(42.9%, 79.2%, 0%, 34.1%)
CIE-LABlab(30.68, 53.01, -59.88)
CIE-LCHlch(30.68, 79.97, 311.52°)
OKLaboklab(42.66% 0.0922 -0.1714)
OKLCHoklch(42.66% 0.195 298.3)
XYZxyz(12.4910, 6.5158, 37.6378)
Luminance0.0652 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6023A8 #6BA823
analogous
#2328A8 #6023A8 #A323A8
triadic
#6023A8 #A86023 #23A860
tetradic
#6023A8 #A82328 #6BA823 #23A8A3
square
#6023A8 #A82328 #6BA823 #23A8A3
split-complementary
#6023A8 #A8A323 #28A823
monochromatic
#260E43 #431875 #6023A8 #7D34D5 #9E66DF

Accessibility & contrast

On white

9.12
#6023A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#6023A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6023A8
9.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6023A8#FFFFFF#000000##FFFFFF
##6023A81.009.122.309.12
#FFFFFF9.121.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048AC
Deuteranopia (green-blind)
#0047A5
Tritanopia (blue-blind)
#4E4865
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #6023a8;
/* rgb */ color: rgb(96, 35, 168);
/* oklch */ color: oklch(42.7% 0.195 298.3);
Tailwind
colors: {
  custom: {
    50: '#9466c3',
    500: '#6023a8',
    950: '#000000',
  },
}
SCSS
$custom: #6023a8;
$custom-light: #9466c3;
$custom-dark: #000000;
JSON
{
  "hex": "#6023a8",
  "rgb": {
    "r": 96,
    "g": 35,
    "b": 168
  },
  "hsl": {
    "h": 267.519,
    "s": 65.517,
    "l": 39.804
  },
  "oklch": {
    "l": 0.42657,
    "c": 0.19463,
    "h": 298.3
  },
  "luminance": 0.06516
}

Semantic roles & 50–950 ramp

primary
#6023A8
secondary
#97C562
accent
#E83F9B
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0613
muted
#7E7A82

Preview Lab

Preview with #6023A8

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

Preview Lab → · Contrast checker → · Palette generator →

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