#6037D4#6037D4

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

Color values

HEX#6037D4
RGBrgb(96, 55, 212)
HSLhsl(256, 65%, 52%)
HSVhsv(256, 74%, 83%)
CMYKcmyk(54.7%, 74.1%, 0%, 16.9%)
CIE-LABlab(37.79, 55.64, -74.13)
CIE-LCHlch(37.79, 92.69, 306.89°)
OKLaboklab(48.85% 0.0647 -0.2133)
OKLCHoklch(48.85% 0.223 286.9)
XYZxyz(18.0702, 9.9717, 63.2471)
Luminance0.0997 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6037D4 #ABD437
analogous
#375CD4 #6037D4 #AF37D4
triadic
#6037D4 #D46037 #37D460
tetradic
#6037D4 #D4375C #ABD437 #37D4AF
square
#6037D4 #D4375C #ABD437 #37D4AF
split-complementary
#6037D4 #D4AF37 #5CD437
monochromatic
#321A77 #4724A9 #6037D4 #8869DF #B09CEA

Accessibility & contrast

On white

7.01
#6037D4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#6037D4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6037D4
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6037D4#FFFFFF#000000##FFFFFF
##6037D41.007.012.997.01
#FFFFFF7.011.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DD9
Deuteranopia (green-blind)
#0054D1
Tritanopia (blue-blind)
#2D6383
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #6037d4;
/* rgb */ color: rgb(96, 55, 212);
/* oklch */ color: oklch(48.9% 0.223 286.9);
Tailwind
colors: {
  custom: {
    50: '#9972e2',
    500: '#6037d4',
    950: '#000000',
  },
}
SCSS
$custom: #6037d4;
$custom-light: #9972e2;
$custom-dark: #000000;
JSON
{
  "hex": "#6037d4",
  "rgb": {
    "r": 96,
    "g": 55,
    "b": 212
  },
  "hsl": {
    "h": 255.669,
    "s": 64.609,
    "l": 52.353
  },
  "oklch": {
    "l": 0.4885,
    "c": 0.22291,
    "h": 286.9
  },
  "luminance": 0.09973
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6037D4

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

Preview Lab → · Contrast checker → · Palette generator →

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