#6036B2#6036B2

#6036B2 is a mid, vivid violet. Relative luminance 0.083; OKLCH L 45.7% C 0.185 H 293.2°. Best body text is #FFFFFF at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#6036B2
RGBrgb(96, 54, 178)
HSLhsl(260, 53%, 45%)
HSVhsv(260, 70%, 70%)
CMYKcmyk(46.1%, 69.7%, 0%, 30.2%)
CIE-LABlab(34.68, 46.72, -59.33)
CIE-LCHlch(34.68, 75.51, 308.22°)
OKLaboklab(45.74% 0.0729 -0.1699)
OKLCHoklch(45.74% 0.185 293.2)
XYZxyz(14.1767, 8.3390, 42.9735)
Luminance0.0834 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6036B2 #88B236
analogous
#364AB2 #6036B2 #9E36B2
triadic
#6036B2 #B26036 #36B260
tetradic
#6036B2 #B2364A #88B236 #36B29E
square
#6036B2 #B2364A #88B236 #36B29E
split-complementary
#6036B2 #B29E36 #4AB236
monochromatic
#2D1A54 #472883 #6036B2 #8059CD #A488DB

Accessibility & contrast

On white

7.87
#6036B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#6036B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##6036B2#FFFFFF#000000##FFFFFF
##6036B21.007.872.677.87
#FFFFFF7.871.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B6
Deuteranopia (green-blind)
#004FB0
Tritanopia (blue-blind)
#485570
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #6036b2;
/* rgb */ color: rgb(96, 54, 178);
/* oklch */ color: oklch(45.7% 0.185 293.2);
Tailwind
colors: {
  custom: {
    50: '#9470ca',
    500: '#6036b2',
    950: '#000000',
  },
}
SCSS
$custom: #6036b2;
$custom-light: #9470ca;
$custom-dark: #000000;
JSON
{
  "hex": "#6036b2",
  "rgb": {
    "r": 96,
    "g": 54,
    "b": 178
  },
  "hsl": {
    "h": 260.323,
    "s": 53.448,
    "l": 45.49
  },
  "oklch": {
    "l": 0.45743,
    "c": 0.18484,
    "h": 293.2
  },
  "luminance": 0.08339
}

Semantic roles & 50–950 ramp

primary
#6036B2
secondary
#ADC57F
accent
#DD4BAB
background
#F9F6FC
surface
#F2ECF8
border
#CCC7D1
text
#0E0813
muted
#7E7B82

Preview Lab

Preview with #6036B2

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

Preview Lab → · Contrast checker → · Palette generator →

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