#6023AF#6023AF

#6023AF is a dark, highly saturated violet. Relative luminance 0.068; OKLCH L 43.3% C 0.202 H 296.5°. Best body text is #FFFFFF at 8.91:1 contrast (WCAG AA passes).

Color values

HEX#6023AF
RGBrgb(96, 35, 175)
HSLhsl(266, 67%, 41%)
HSVhsv(266, 80%, 69%)
CMYKcmyk(45.1%, 80%, 0%, 31.4%)
CIE-LABlab(31.31, 54.75, -63.05)
CIE-LCHlch(31.31, 83.51, 310.97°)
OKLaboklab(43.29% 0.0901 -0.1807)
OKLCHoklch(43.29% 0.202 296.5)
XYZxyz(13.1607, 6.7837, 41.1651)
Luminance0.0678 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6023AF #72AF23
analogous
#232CAF #6023AF #A623AF
triadic
#6023AF #AF6023 #23AF60
tetradic
#6023AF #AF232C #72AF23 #23AFA6
square
#6023AF #AF232C #72AF23 #23AFA6
split-complementary
#6023AF #AFA623 #2CAF23
monochromatic
#280F49 #44197C #6023AF #7D38D7 #9F6BE1

Accessibility & contrast

On white

8.91
#6023AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#6023AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6023AF
8.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6023AF#FFFFFF#000000##FFFFFF
##6023AF1.008.912.368.91
#FFFFFF8.911.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.911.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6023af;
/* rgb */ color: rgb(96, 35, 175);
/* oklch */ color: oklch(43.3% 0.202 296.5);
Tailwind
colors: {
  custom: {
    50: '#9566c8',
    500: '#6023af',
    950: '#000000',
  },
}
SCSS
$custom: #6023af;
$custom-light: #9566c8;
$custom-dark: #000000;
JSON
{
  "hex": "#6023af",
  "rgb": {
    "r": 96,
    "g": 35,
    "b": 175
  },
  "hsl": {
    "h": 266.143,
    "s": 66.667,
    "l": 41.176
  },
  "oklch": {
    "l": 0.43289,
    "c": 0.2019,
    "h": 296.5
  },
  "luminance": 0.06784
}

Semantic roles & 50–950 ramp

primary
#6023AF
secondary
#9DC766
accent
#EA3E9F
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0613
muted
#7E7A82

Preview Lab

Preview with #6023AF

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

Preview Lab → · Contrast checker → · Palette generator →

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