#6023D4#6023D4

#6023D4 is a mid, highly saturated violet. Relative luminance 0.084; OKLCH L 46.8% C 0.240 H 288.8°. Best body text is #FFFFFF at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#6023D4
RGBrgb(96, 35, 212)
HSLhsl(261, 72%, 48%)
HSVhsv(261, 83%, 83%)
CMYKcmyk(54.7%, 83.5%, 0%, 16.9%)
CIE-LABlab(34.89, 64.05, -78.92)
CIE-LCHlch(34.89, 101.64, 309.06°)
OKLaboklab(46.83% 0.0774 -0.2271)
OKLCHoklch(46.83% 0.24 288.8)
XYZxyz(17.3051, 8.4415, 62.9921)
Luminance0.0844 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6023D4 #97D423
analogous
#233ED4 #6023D4 #B823D4
triadic
#6023D4 #D46023 #23D460
tetradic
#6023D4 #D4233E #97D423 #23D4B8
square
#6023D4 #D4233E #97D423 #23D4B8
split-complementary
#6023D4 #D4B823 #3ED423
monochromatic
#30126B #481A9F #6023D4 #8452E2 #A986EB

Accessibility & contrast

On white

7.81
#6023D4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#6023D4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6023D4
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6023D4#FFFFFF#000000##FFFFFF
##6023D41.007.812.697.81
#FFFFFF7.811.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055D9
Deuteranopia (green-blind)
#004ED1
Tritanopia (blue-blind)
#2E5B7F
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #6023d4;
/* rgb */ color: rgb(96, 35, 212);
/* oklch */ color: oklch(46.8% 0.240 288.8);
Tailwind
colors: {
  custom: {
    50: '#9a68e3',
    500: '#6023d4',
    950: '#000000',
  },
}
SCSS
$custom: #6023d4;
$custom-light: #9a68e3;
$custom-dark: #000000;
JSON
{
  "hex": "#6023d4",
  "rgb": {
    "r": 96,
    "g": 35,
    "b": 212
  },
  "hsl": {
    "h": 260.678,
    "s": 71.66,
    "l": 48.431
  },
  "oklch": {
    "l": 0.46831,
    "c": 0.23991,
    "h": 288.8
  },
  "luminance": 0.08442
}

Semantic roles & 50–950 ramp

primary
#6023D4
secondary
#B7D47E
accent
#EE39B0
background
#FAF6FE
surface
#F4EBFC
border
#CEC6D5
text
#0F0716
muted
#7F7A84

Preview Lab

Preview with #6023D4

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

Preview Lab → · Contrast checker → · Palette generator →

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