#6036D3#6036D3

#6036D3 is a mid, highly saturated violet. Relative luminance 0.098; OKLCH L 48.6% C 0.223 H 287.2°. Best body text is #FFFFFF at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#6036D3
RGBrgb(96, 54, 211)
HSLhsl(256, 64%, 52%)
HSVhsv(256, 74%, 83%)
CMYKcmyk(54.5%, 74.4%, 0%, 17.3%)
CIE-LABlab(37.53, 55.85, -73.98)
CIE-LCHlch(37.53, 92.70, 307.05°)
OKLaboklab(48.64% 0.0657 -0.2129)
OKLCHoklch(48.64% 0.223 287.2)
XYZxyz(17.8974, 9.8273, 62.5692)
Luminance0.0983 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6036D3 #A9D336
analogous
#365BD3 #6036D3 #AF36D3
triadic
#6036D3 #D36036 #36D360
tetradic
#6036D3 #D3365B #A9D336 #36D3AF
square
#6036D3 #D3365B #A9D336 #36D3AF
split-complementary
#6036D3 #D3AF36 #5BD336
monochromatic
#321A75 #4825A7 #6036D3 #8868DE #AF9AE9

Accessibility & contrast

On white

7.08
#6036D3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#6036D3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6036D3
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6036D3#FFFFFF#000000##FFFFFF
##6036D31.007.082.977.08
#FFFFFF7.081.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.081.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6036d3;
/* rgb */ color: rgb(96, 54, 211);
/* oklch */ color: oklch(48.6% 0.223 287.2);
Tailwind
colors: {
  custom: {
    50: '#9972e2',
    500: '#6036d3',
    950: '#000000',
  },
}
SCSS
$custom: #6036d3;
$custom-light: #9972e2;
$custom-dark: #000000;
JSON
{
  "hex": "#6036d3",
  "rgb": {
    "r": 96,
    "g": 54,
    "b": 211
  },
  "hsl": {
    "h": 256.051,
    "s": 64.082,
    "l": 51.961
  },
  "oklch": {
    "l": 0.48639,
    "c": 0.22278,
    "h": 287.2
  },
  "luminance": 0.09828
}

Semantic roles & 50–950 ramp

primary
#6036D3
secondary
#C2D590
accent
#E741BB
background
#FAF7FE
surface
#F4EDFC
border
#CEC8D5
text
#0F0816
muted
#7F7B84

Preview Lab

Preview with #6036D3

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

Preview Lab → · Contrast checker → · Palette generator →

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