#6037D2#6037D2

#6037D2 is a mid, highly saturated violet. Relative luminance 0.099; OKLCH L 48.7% C 0.221 H 287.2°. Best body text is #FFFFFF at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#6037D2
RGBrgb(96, 55, 210)
HSLhsl(256, 63%, 52%)
HSVhsv(256, 74%, 82%)
CMYKcmyk(54.3%, 73.8%, 0%, 17.6%)
CIE-LABlab(37.61, 55.09, -73.27)
CIE-LCHlch(37.61, 91.67, 306.94°)
OKLaboklab(48.67% 0.0652 -0.2108)
OKLCHoklch(48.67% 0.221 287.2)
XYZxyz(17.8195, 9.8714, 61.9267)
Luminance0.0987 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6037D2 #A9D237
analogous
#375CD2 #6037D2 #AE37D2
triadic
#6037D2 #D26037 #37D260
tetradic
#6037D2 #D2375C #A9D237 #37D2AE
square
#6037D2 #D2375C #A9D237 #37D2AE
split-complementary
#6037D2 #D2AE37 #5CD237
monochromatic
#321A74 #4825A6 #6037D2 #8869DD #AF9BE8

Accessibility & contrast

On white

7.06
#6037D2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#6037D2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6037D2
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6037D2#FFFFFF#000000##FFFFFF
##6037D21.007.062.977.06
#FFFFFF7.061.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CD6
Deuteranopia (green-blind)
#0054CF
Tritanopia (blue-blind)
#2F6282
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #6037d2;
/* rgb */ color: rgb(96, 55, 210);
/* oklch */ color: oklch(48.7% 0.221 287.2);
Tailwind
colors: {
  custom: {
    50: '#9972e1',
    500: '#6037d2',
    950: '#000000',
  },
}
SCSS
$custom: #6037d2;
$custom-light: #9972e1;
$custom-dark: #000000;
JSON
{
  "hex": "#6037d2",
  "rgb": {
    "r": 96,
    "g": 55,
    "b": 210
  },
  "hsl": {
    "h": 255.871,
    "s": 63.265,
    "l": 51.961
  },
  "oklch": {
    "l": 0.48667,
    "c": 0.22065,
    "h": 287.2
  },
  "luminance": 0.09872
}

Semantic roles & 50–950 ramp

primary
#6037D2
secondary
#C2D490
accent
#E641BB
background
#FAF7FE
surface
#F3EDFC
border
#CDC8D5
text
#0F0815
muted
#7F7B84

Preview Lab

Preview with #6037D2

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

Preview Lab → · Contrast checker → · Palette generator →

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