#6036D5#6036D5

#6036D5 is a mid, highly saturated violet. Relative luminance 0.099; OKLCH L 48.8% C 0.225 H 286.8°. Best body text is #FFFFFF at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#6036D5
RGBrgb(96, 54, 213)
HSLhsl(256, 65%, 52%)
HSVhsv(256, 75%, 84%)
CMYKcmyk(54.9%, 74.6%, 0%, 16.5%)
CIE-LABlab(37.71, 56.40, -74.84)
CIE-LCHlch(37.71, 93.71, 307.00°)
OKLaboklab(48.82% 0.0652 -0.2154)
OKLCHoklch(48.82% 0.225 286.8)
XYZxyz(18.1497, 9.9282, 63.8979)
Luminance0.0993 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6036D5 #ABD536
analogous
#365CD5 #6036D5 #AF36D5
triadic
#6036D5 #D56036 #36D560
tetradic
#6036D5 #D5365C #ABD536 #36D5AF
square
#6036D5 #D5365C #ABD536 #36D5AF
split-complementary
#6036D5 #D5AF36 #5CD536
monochromatic
#321978 #4724AA #6036D5 #8869E0 #B09BEA

Accessibility & contrast

On white

7.03
#6036D5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#6036D5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6036D5
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6036D5#FFFFFF#000000##FFFFFF
##6036D51.007.032.997.03
#FFFFFF7.031.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.031.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6036d5;
/* rgb */ color: rgb(96, 54, 213);
/* oklch */ color: oklch(48.8% 0.225 286.8);
Tailwind
colors: {
  custom: {
    50: '#9972e3',
    500: '#6036d5',
    950: '#000000',
  },
}
SCSS
$custom: #6036d5;
$custom-light: #9972e3;
$custom-dark: #000000;
JSON
{
  "hex": "#6036d5",
  "rgb": {
    "r": 96,
    "g": 54,
    "b": 213
  },
  "hsl": {
    "h": 255.849,
    "s": 65.432,
    "l": 52.353
  },
  "oklch": {
    "l": 0.48823,
    "c": 0.22502,
    "h": 286.8
  },
  "luminance": 0.09929
}

Semantic roles & 50–950 ramp

primary
#6036D5
secondary
#C4D691
accent
#E83FBC
background
#FAF7FE
surface
#F4EDFC
border
#CEC8D5
text
#0F0816
muted
#7F7B84

Preview Lab

Preview with #6036D5

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

Preview Lab → · Contrast checker → · Palette generator →

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