#6036AA#6036AA

#6036AA is a mid, vivid violet. Relative luminance 0.080; OKLCH L 45.1% C 0.175 H 295.0°. Best body text is #FFFFFF at 8.06:1 contrast (WCAG AA passes).

Color values

HEX#6036AA
RGBrgb(96, 54, 170)
HSLhsl(262, 52%, 44%)
HSVhsv(262, 68%, 67%)
CMYKcmyk(43.5%, 68.2%, 0%, 33.3%)
CIE-LABlab(34.04, 44.52, -55.60)
CIE-LCHlch(34.04, 71.23, 308.69°)
OKLaboklab(45.08% 0.0741 -0.1589)
OKLCHoklch(45.08% 0.175 295)
XYZxyz(13.3968, 8.0271, 38.8660)
Luminance0.0803 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6036AA #80AA36
analogous
#3646AA #6036AA #9A36AA
triadic
#6036AA #AA6036 #36AA60
tetradic
#6036AA #AA3646 #80AA36 #36AA9A
square
#6036AA #AA3646 #80AA36 #36AA9A
split-complementary
#6036AA #AA9A36 #46AA36
monochromatic
#2C184D #46277C #6036AA #7F54C9 #A283D8

Accessibility & contrast

On white

8.06
#6036AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

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

Contrast matrix

fg \ bg##6036AA#FFFFFF#000000##FFFFFF
##6036AA1.008.062.618.06
#FFFFFF8.061.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051AE
Deuteranopia (green-blind)
#004EA8
Tritanopia (blue-blind)
#4C526B
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #6036aa;
/* rgb */ color: rgb(96, 54, 170);
/* oklch */ color: oklch(45.1% 0.175 295.0);
Tailwind
colors: {
  custom: {
    50: '#9370c4',
    500: '#6036aa',
    950: '#000000',
  },
}
SCSS
$custom: #6036aa;
$custom-light: #9370c4;
$custom-dark: #000000;
JSON
{
  "hex": "#6036aa",
  "rgb": {
    "r": 96,
    "g": 54,
    "b": 170
  },
  "hsl": {
    "h": 261.724,
    "s": 51.786,
    "l": 43.922
  },
  "oklch": {
    "l": 0.45085,
    "c": 0.17537,
    "h": 295
  },
  "luminance": 0.08027
}

Semantic roles & 50–950 ramp

primary
#6036AA
secondary
#A8C17B
accent
#DB4DA8
background
#F9F6FC
surface
#F2ECF8
border
#CCC7D1
text
#0E0813
muted
#7E7B82

Preview Lab

Preview with #6036AA

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

Preview Lab → · Contrast checker → · Palette generator →

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