#6023B1#6023B1

#6023B1 is a dark, highly saturated violet. Relative luminance 0.069; OKLCH L 43.5% C 0.204 H 296.0°. Best body text is #FFFFFF at 8.85:1 contrast (WCAG AA passes).

Color values

HEX#6023B1
RGBrgb(96, 35, 177)
HSLhsl(266, 67%, 42%)
HSVhsv(266, 80%, 69%)
CMYKcmyk(45.8%, 80.2%, 0%, 30.6%)
CIE-LABlab(31.49, 55.25, -63.94)
CIE-LCHlch(31.49, 84.51, 310.83°)
OKLaboklab(43.47% 0.0895 -0.1833)
OKLCHoklch(43.47% 0.204 296)
XYZxyz(13.3586, 6.8629, 42.2073)
Luminance0.0686 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6023B1 #74B123
analogous
#232DB1 #6023B1 #A723B1
triadic
#6023B1 #B16023 #23B160
tetradic
#6023B1 #B1232D #74B123 #23B1A7
square
#6023B1 #B1232D #74B123 #23B1A7
split-complementary
#6023B1 #B1A723 #2DB123
monochromatic
#290F4B #44197E #6023B1 #7D39D8 #9F6CE2

Accessibility & contrast

On white

8.85
#6023B1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#6023B1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6023B1
8.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6023B1#FFFFFF#000000##FFFFFF
##6023B11.008.852.378.85
#FFFFFF8.851.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.851.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: #6023b1;
/* rgb */ color: rgb(96, 35, 177);
/* oklch */ color: oklch(43.5% 0.204 296.0);
Tailwind
colors: {
  custom: {
    50: '#9566c9',
    500: '#6023b1',
    950: '#000000',
  },
}
SCSS
$custom: #6023b1;
$custom-light: #9566c9;
$custom-dark: #000000;
JSON
{
  "hex": "#6023b1",
  "rgb": {
    "r": 96,
    "g": 35,
    "b": 177
  },
  "hsl": {
    "h": 265.775,
    "s": 66.981,
    "l": 41.569
  },
  "oklch": {
    "l": 0.43472,
    "c": 0.20397,
    "h": 296
  },
  "luminance": 0.06863
}

Semantic roles & 50–950 ramp

primary
#6023B1
secondary
#9FC868
accent
#EA3EA0
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0613
muted
#7E7A82

Preview Lab

Preview with #6023B1

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

Preview Lab → · Contrast checker → · Palette generator →

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