#6037D3#6037D3

#6037D3 is a mid, highly saturated violet. Relative luminance 0.099; OKLCH L 48.8% C 0.222 H 287.0°. Best body text is #FFFFFF at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#6037D3
RGBrgb(96, 55, 211)
HSLhsl(256, 64%, 52%)
HSVhsv(256, 74%, 83%)
CMYKcmyk(54.5%, 73.9%, 0%, 17.3%)
CIE-LABlab(37.70, 55.37, -73.70)
CIE-LCHlch(37.70, 92.18, 306.91°)
OKLaboklab(48.76% 0.065 -0.2121)
OKLCHoklch(48.76% 0.222 287)
XYZxyz(17.9444, 9.9214, 62.5849)
Luminance0.0992 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6037D3 #AAD337
analogous
#375CD3 #6037D3 #AE37D3
triadic
#6037D3 #D36037 #37D360
tetradic
#6037D3 #D3375C #AAD337 #37D3AE
square
#6037D3 #D3375C #AAD337 #37D3AE
split-complementary
#6037D3 #D3AE37 #5CD337
monochromatic
#321A76 #4725A8 #6037D3 #8869DE #B09BE9

Accessibility & contrast

On white

7.04
#6037D3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#6037D3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6037D3
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6037D3#FFFFFF#000000##FFFFFF
##6037D31.007.042.987.04
#FFFFFF7.041.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CD7
Deuteranopia (green-blind)
#0054D0
Tritanopia (blue-blind)
#2E6282
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #6037d3;
/* rgb */ color: rgb(96, 55, 211);
/* oklch */ color: oklch(48.8% 0.222 287.0);
Tailwind
colors: {
  custom: {
    50: '#9972e2',
    500: '#6037d3',
    950: '#000000',
  },
}
SCSS
$custom: #6037d3;
$custom-light: #9972e2;
$custom-dark: #000000;
JSON
{
  "hex": "#6037d3",
  "rgb": {
    "r": 96,
    "g": 55,
    "b": 211
  },
  "hsl": {
    "h": 255.769,
    "s": 63.934,
    "l": 52.157
  },
  "oklch": {
    "l": 0.48759,
    "c": 0.22179,
    "h": 287
  },
  "luminance": 0.09922
}

Semantic roles & 50–950 ramp

primary
#6037D3
secondary
#C3D591
accent
#E741BB
background
#FAF7FE
surface
#F4EDFC
border
#CEC8D5
text
#0F0815
muted
#7F7B84

Preview Lab

Preview with #6037D3

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

Preview Lab → · Contrast checker → · Palette generator →

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