#6036AB#6036AB

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

Color values

HEX#6036AB
RGBrgb(96, 54, 171)
HSLhsl(262, 52%, 44%)
HSVhsv(262, 68%, 67%)
CMYKcmyk(43.9%, 68.4%, 0%, 32.9%)
CIE-LABlab(34.12, 44.80, -56.07)
CIE-LCHlch(34.12, 71.77, 308.62°)
OKLaboklab(45.17% 0.074 -0.1603)
OKLCHoklch(45.17% 0.177 294.8)
XYZxyz(13.4917, 8.0651, 39.3660)
Luminance0.0806 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6036AB #81AB36
analogous
#3647AB #6036AB #9B36AB
triadic
#6036AB #AB6036 #36AB60
tetradic
#6036AB #AB3647 #81AB36 #36AB9B
square
#6036AB #AB3647 #81AB36 #36AB9B
split-complementary
#6036AB #AB9B36 #47AB36
monochromatic
#2C194E #46277C #6036AB #7F55C9 #A283D8

Accessibility & contrast

On white

8.04
#6036AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#6036AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6036AB
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6036AB#FFFFFF#000000##FFFFFF
##6036AB1.008.042.618.04
#FFFFFF8.041.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051AF
Deuteranopia (green-blind)
#004EA9
Tritanopia (blue-blind)
#4B526C
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #6036ab;
/* rgb */ color: rgb(96, 54, 171);
/* oklch */ color: oklch(45.2% 0.177 294.8);
Tailwind
colors: {
  custom: {
    50: '#9370c5',
    500: '#6036ab',
    950: '#000000',
  },
}
SCSS
$custom: #6036ab;
$custom-light: #9370c5;
$custom-dark: #000000;
JSON
{
  "hex": "#6036ab",
  "rgb": {
    "r": 96,
    "g": 54,
    "b": 171
  },
  "hsl": {
    "h": 261.538,
    "s": 52,
    "l": 44.118
  },
  "oklch": {
    "l": 0.45167,
    "c": 0.17656,
    "h": 294.8
  },
  "luminance": 0.08065
}

Semantic roles & 50–950 ramp

primary
#6036AB
secondary
#A8C27B
accent
#DB4CA8
background
#F9F6FC
surface
#F2ECF8
border
#CCC7D1
text
#0E0813
muted
#7E7B82

Preview Lab

Preview with #6036AB

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

Preview Lab → · Contrast checker → · Palette generator →

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