#6036AC#6036AC

#6036AC is a mid, vivid violet. Relative luminance 0.081; OKLCH L 45.2% C 0.178 H 294.5°. Best body text is #FFFFFF at 8.01:1 contrast (WCAG AA passes).

Color values

HEX#6036AC
RGBrgb(96, 54, 172)
HSLhsl(261, 52%, 44%)
HSVhsv(261, 69%, 67%)
CMYKcmyk(44.2%, 68.6%, 0%, 32.5%)
CIE-LABlab(34.20, 45.07, -56.54)
CIE-LCHlch(34.20, 72.30, 308.56°)
OKLaboklab(45.25% 0.0738 -0.1617)
OKLCHoklch(45.25% 0.178 294.5)
XYZxyz(13.5874, 8.1033, 39.8699)
Luminance0.0810 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6036AC #82AC36
analogous
#3647AC #6036AC #9B36AC
triadic
#6036AC #AC6036 #36AC60
tetradic
#6036AC #AC3647 #82AC36 #36AC9B
square
#6036AC #AC3647 #82AC36 #36AC9B
split-complementary
#6036AC #AC9B36 #47AC36
monochromatic
#2C194F #46277D #6036AC #7F55CA #A284D8

Accessibility & contrast

On white

8.01
#6036AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#6036AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6036AC
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6036AC#FFFFFF#000000##FFFFFF
##6036AC1.008.012.628.01
#FFFFFF8.011.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B0
Deuteranopia (green-blind)
#004EAA
Tritanopia (blue-blind)
#4B536C
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #6036ac;
/* rgb */ color: rgb(96, 54, 172);
/* oklch */ color: oklch(45.2% 0.178 294.5);
Tailwind
colors: {
  custom: {
    50: '#9470c6',
    500: '#6036ac',
    950: '#000000',
  },
}
SCSS
$custom: #6036ac;
$custom-light: #9470c6;
$custom-dark: #000000;
JSON
{
  "hex": "#6036ac",
  "rgb": {
    "r": 96,
    "g": 54,
    "b": 172
  },
  "hsl": {
    "h": 261.356,
    "s": 52.212,
    "l": 44.314
  },
  "oklch": {
    "l": 0.45248,
    "c": 0.17775,
    "h": 294.5
  },
  "luminance": 0.08104
}

Semantic roles & 50–950 ramp

primary
#6036AC
secondary
#A9C27C
accent
#DC4CA9
background
#F9F6FC
surface
#F2ECF8
border
#CCC7D1
text
#0E0813
muted
#7E7B82

Preview Lab

Preview with #6036AC

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

Preview Lab → · Contrast checker → · Palette generator →

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