#6036B4#6036B4

#6036B4 is a mid, vivid violet. Relative luminance 0.084; OKLCH L 45.9% C 0.187 H 292.8°. Best body text is #FFFFFF at 7.82:1 contrast (WCAG AA passes).

Color values

HEX#6036B4
RGBrgb(96, 54, 180)
HSLhsl(260, 54%, 46%)
HSVhsv(260, 70%, 71%)
CMYKcmyk(46.7%, 70%, 0%, 29.4%)
CIE-LABlab(34.84, 47.27, -60.25)
CIE-LCHlch(34.84, 76.58, 308.12°)
OKLaboklab(45.91% 0.0725 -0.1726)
OKLCHoklch(45.91% 0.187 292.8)
XYZxyz(14.3790, 8.4200, 44.0388)
Luminance0.0842 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6036B4 #8AB436
analogous
#364BB4 #6036B4 #9F36B4
triadic
#6036B4 #B46036 #36B460
tetradic
#6036B4 #B4364B #8AB436 #36B49F
square
#6036B4 #B4364B #8AB436 #36B49F
split-complementary
#6036B4 #B49F36 #4BB436
monochromatic
#2E1A56 #472885 #6036B4 #805ACD #A489DC

Accessibility & contrast

On white

7.82
#6036B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#6036B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##6036B4#FFFFFF#000000##FFFFFF
##6036B41.007.822.687.82
#FFFFFF7.821.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054B8
Deuteranopia (green-blind)
#0050B1
Tritanopia (blue-blind)
#475671
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #6036b4;
/* rgb */ color: rgb(96, 54, 180);
/* oklch */ color: oklch(45.9% 0.187 292.8);
Tailwind
colors: {
  custom: {
    50: '#9570cb',
    500: '#6036b4',
    950: '#000000',
  },
}
SCSS
$custom: #6036b4;
$custom-light: #9570cb;
$custom-dark: #000000;
JSON
{
  "hex": "#6036b4",
  "rgb": {
    "r": 96,
    "g": 54,
    "b": 180
  },
  "hsl": {
    "h": 260,
    "s": 53.846,
    "l": 45.882
  },
  "oklch": {
    "l": 0.4591,
    "c": 0.1872,
    "h": 292.8
  },
  "luminance": 0.0842
}

Semantic roles & 50–950 ramp

primary
#6036B4
secondary
#AEC680
accent
#DD4BAC
background
#F9F6FC
surface
#F2ECF9
border
#CCC7D2
text
#0E0813
muted
#7E7B82

Preview Lab

Preview with #6036B4

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

Preview Lab → · Contrast checker → · Palette generator →

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