#6036BA#6036BA

#6036BA is a mid, vivid violet. Relative luminance 0.087; OKLCH L 46.4% C 0.194 H 291.6°. Best body text is #FFFFFF at 7.68:1 contrast (WCAG AA passes).

Color values

HEX#6036BA
RGBrgb(96, 54, 186)
HSLhsl(259, 55%, 47%)
HSVhsv(259, 71%, 73%)
CMYKcmyk(48.4%, 71%, 0%, 27.1%)
CIE-LABlab(35.34, 48.93, -62.98)
CIE-LCHlch(35.34, 79.75, 307.84°)
OKLaboklab(46.42% 0.0714 -0.1806)
OKLCHoklch(46.42% 0.194 291.6)
XYZxyz(15.0035, 8.6697, 47.3278)
Luminance0.0867 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6036BA #90BA36
analogous
#364EBA #6036BA #A236BA
triadic
#6036BA #BA6036 #36BA60
tetradic
#6036BA #BA364E #90BA36 #36BAA2
square
#6036BA #BA364E #90BA36 #36BAA2
split-complementary
#6036BA #BAA236 #4EBA36
monochromatic
#2F1A5B #48288B #6036BA #825DD0 #A68DDE

Accessibility & contrast

On white

7.68
#6036BA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#6036BA on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##6036BA#FFFFFF#000000##FFFFFF
##6036BA1.007.682.737.68
#FFFFFF7.681.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055BE
Deuteranopia (green-blind)
#0050B7
Tritanopia (blue-blind)
#435874
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #6036ba;
/* rgb */ color: rgb(96, 54, 186);
/* oklch */ color: oklch(46.4% 0.194 291.6);
Tailwind
colors: {
  custom: {
    50: '#9571d0',
    500: '#6036ba',
    950: '#000000',
  },
}
SCSS
$custom: #6036ba;
$custom-light: #9571d0;
$custom-dark: #000000;
JSON
{
  "hex": "#6036ba",
  "rgb": {
    "r": 96,
    "g": 54,
    "b": 186
  },
  "hsl": {
    "h": 259.091,
    "s": 55,
    "l": 47.059
  },
  "oklch": {
    "l": 0.46419,
    "c": 0.1942,
    "h": 291.6
  },
  "luminance": 0.0867
}

Semantic roles & 50–950 ramp

primary
#6036BA
secondary
#B2C884
accent
#DE49AF
background
#F9F7FC
surface
#F2EDF9
border
#CCC8D2
text
#0E0814
muted
#7E7B82

Preview Lab

Preview with #6036BA

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

Preview Lab → · Contrast checker → · Palette generator →

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