#6036CA#6036CA

#6036CA is a mid, highly saturated violet. Relative luminance 0.094; OKLCH L 47.8% C 0.213 H 288.6°. Best body text is #FFFFFF at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#6036CA
RGBrgb(96, 54, 202)
HSLhsl(257, 58%, 50%)
HSVhsv(257, 73%, 79%)
CMYKcmyk(52.5%, 73.3%, 0%, 20.8%)
CIE-LABlab(36.72, 53.36, -70.09)
CIE-LCHlch(36.72, 88.09, 307.28°)
OKLaboklab(47.82% 0.0679 -0.2015)
OKLCHoklch(47.82% 0.213 288.6)
XYZxyz(16.8006, 9.3886, 56.7926)
Luminance0.0939 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6036CA #A0CA36
analogous
#3656CA #6036CA #AA36CA
triadic
#6036CA #CA6036 #36CA60
tetradic
#6036CA #CA3656 #A0CA36 #36CAAA
square
#6036CA #CA3656 #A0CA36 #36CAAA
split-complementary
#6036CA #CAAA36 #56CA36
monochromatic
#321C6A #49299A #6036CA #8666D7 #AD97E4

Accessibility & contrast

On white

7.30
#6036CA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#6036CA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6036CA
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6036CA#FFFFFF#000000##FFFFFF
##6036CA1.007.302.887.30
#FFFFFF7.301.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059CE
Deuteranopia (green-blind)
#0053C7
Tritanopia (blue-blind)
#375E7D
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #6036ca;
/* rgb */ color: rgb(96, 54, 202);
/* oklch */ color: oklch(47.8% 0.213 288.6);
Tailwind
colors: {
  custom: {
    50: '#9871db',
    500: '#6036ca',
    950: '#000000',
  },
}
SCSS
$custom: #6036ca;
$custom-light: #9871db;
$custom-dark: #000000;
JSON
{
  "hex": "#6036ca",
  "rgb": {
    "r": 96,
    "g": 54,
    "b": 202
  },
  "hsl": {
    "h": 257.027,
    "s": 58.268,
    "l": 50.196
  },
  "oklch": {
    "l": 0.47823,
    "c": 0.21261,
    "h": 288.6
  },
  "luminance": 0.09389
}

Semantic roles & 50–950 ramp

primary
#6036CA
secondary
#BCCF8D
accent
#E146B5
background
#FAF7FD
surface
#F3EDFB
border
#CDC8D4
text
#0F0815
muted
#7F7B83

Preview Lab

Preview with #6036CA

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

Preview Lab → · Contrast checker → · Palette generator →

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