#6036A2#6036A2

#6036A2 is a dark, vivid violet. Relative luminance 0.077; OKLCH L 44.4% C 0.166 H 297.0°. Best body text is #FFFFFF at 8.25:1 contrast (WCAG AA passes).

Color values

HEX#6036A2
RGBrgb(96, 54, 162)
HSLhsl(263, 50%, 42%)
HSVhsv(263, 67%, 64%)
CMYKcmyk(40.7%, 66.7%, 0%, 36.5%)
CIE-LABlab(33.42, 42.34, -51.80)
CIE-LCHlch(33.42, 66.90, 309.27°)
OKLaboklab(44.45% 0.0752 -0.1477)
OKLCHoklch(44.45% 0.166 297)
XYZxyz(12.6629, 7.7335, 35.0010)
Luminance0.0773 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6036A2 #78A236
analogous
#3642A2 #6036A2 #9636A2
triadic
#6036A2 #A26036 #36A260
tetradic
#6036A2 #A23642 #78A236 #36A296
square
#6036A2 #A23642 #78A236 #36A296
split-complementary
#6036A2 #A29636 #42A236
monochromatic
#2A1746 #452774 #6036A2 #7E50C5 #A07ED4

Accessibility & contrast

On white

8.25
#6036A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#6036A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##6036A2#FFFFFF#000000##FFFFFF
##6036A21.008.252.558.25
#FFFFFF8.251.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FA5
Deuteranopia (green-blind)
#004DA0
Tritanopia (blue-blind)
#504F67
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #6036a2;
/* rgb */ color: rgb(96, 54, 162);
/* oklch */ color: oklch(44.4% 0.166 297.0);
Tailwind
colors: {
  custom: {
    50: '#9270be',
    500: '#6036a2',
    950: '#000000',
  },
}
SCSS
$custom: #6036a2;
$custom-light: #9270be;
$custom-dark: #000000;
JSON
{
  "hex": "#6036a2",
  "rgb": {
    "r": 96,
    "g": 54,
    "b": 162
  },
  "hsl": {
    "h": 263.333,
    "s": 50,
    "l": 42.353
  },
  "oklch": {
    "l": 0.44448,
    "c": 0.1658,
    "h": 297
  },
  "luminance": 0.07734
}

Semantic roles & 50–950 ramp

primary
#6036A2
secondary
#A2BD77
accent
#DA4EA3
background
#F9F6FB
surface
#F2ECF7
border
#CCC7D0
text
#0D0812
muted
#7E7B81

Preview Lab

Preview with #6036A2

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

Preview Lab → · Contrast checker → · Palette generator →

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