#6037D5#6037D5

#6037D5 is a mid, highly saturated violet. Relative luminance 0.100; OKLCH L 48.9% C 0.224 H 286.7°. Best body text is #FFFFFF at 6.99:1 contrast (WCAG AA passes).

Color values

HEX#6037D5
RGBrgb(96, 55, 213)
HSLhsl(256, 65%, 53%)
HSVhsv(256, 74%, 84%)
CMYKcmyk(54.9%, 74.2%, 0%, 16.5%)
CIE-LABlab(37.88, 55.92, -74.56)
CIE-LCHlch(37.88, 93.20, 306.87°)
OKLaboklab(48.94% 0.0645 -0.2146)
OKLCHoklch(48.94% 0.224 286.7)
XYZxyz(18.1967, 10.0223, 63.9135)
Luminance0.1002 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6037D5 #ACD537
analogous
#375DD5 #6037D5 #AF37D5
triadic
#6037D5 #D56037 #37D560
tetradic
#6037D5 #D5375D #ACD537 #37D5AF
square
#6037D5 #D5375D #ACD537 #37D5AF
split-complementary
#6037D5 #D5AF37 #5DD537
monochromatic
#321978 #4724AB #6037D5 #886AE0 #B09CEA

Accessibility & contrast

On white

6.99
#6037D5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.00
#6037D5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6037D5
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6037D5#FFFFFF#000000##FFFFFF
##6037D51.006.993.006.99
#FFFFFF6.991.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF6.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DDA
Deuteranopia (green-blind)
#0055D2
Tritanopia (blue-blind)
#2C6384
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #6037d5;
/* rgb */ color: rgb(96, 55, 213);
/* oklch */ color: oklch(48.9% 0.224 286.7);
Tailwind
colors: {
  custom: {
    50: '#9972e3',
    500: '#6037d5',
    950: '#000000',
  },
}
SCSS
$custom: #6037d5;
$custom-light: #9972e3;
$custom-dark: #000000;
JSON
{
  "hex": "#6037d5",
  "rgb": {
    "r": 96,
    "g": 55,
    "b": 213
  },
  "hsl": {
    "h": 255.57,
    "s": 65.289,
    "l": 52.549
  },
  "oklch": {
    "l": 0.48941,
    "c": 0.22404,
    "h": 286.7
  },
  "luminance": 0.10023
}

Semantic roles & 50–950 ramp

primary
#6037D5
secondary
#C4D692
accent
#E840BC
background
#FAF7FE
surface
#F4EDFC
border
#CEC8D5
text
#0F0816
muted
#7F7B84

Preview Lab

Preview with #6037D5

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

Preview Lab → · Contrast checker → · Palette generator →

#6037D5 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva