#6036AF#6036AF

#6036AF is a mid, vivid violet. Relative luminance 0.082; OKLCH L 45.5% C 0.181 H 293.9°. Best body text is #FFFFFF at 7.94:1 contrast (WCAG AA passes).

Color values

HEX#6036AF
RGBrgb(96, 54, 175)
HSLhsl(261, 53%, 45%)
HSVhsv(261, 69%, 69%)
CMYKcmyk(45.1%, 69.1%, 0%, 31.4%)
CIE-LABlab(34.44, 45.89, -57.94)
CIE-LCHlch(34.44, 73.91, 308.38°)
OKLaboklab(45.49% 0.0734 -0.1658)
OKLCHoklch(45.49% 0.181 293.9)
XYZxyz(13.8788, 8.2199, 41.4045)
Luminance0.0822 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6036AF #85AF36
analogous
#3649AF #6036AF #9C36AF
triadic
#6036AF #AF6036 #36AF60
tetradic
#6036AF #AF3649 #85AF36 #36AF9C
square
#6036AF #AF3649 #85AF36 #36AF9C
split-complementary
#6036AF #AF9C36 #49AF36
monochromatic
#2D1951 #462880 #6036AF #7F57CB #A386DA

Accessibility & contrast

On white

7.94
#6036AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#6036AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##6036AF#FFFFFF#000000##FFFFFF
##6036AF1.007.942.647.94
#FFFFFF7.941.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B3
Deuteranopia (green-blind)
#004FAD
Tritanopia (blue-blind)
#49546E
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #6036af;
/* rgb */ color: rgb(96, 54, 175);
/* oklch */ color: oklch(45.5% 0.181 293.9);
Tailwind
colors: {
  custom: {
    50: '#9470c8',
    500: '#6036af',
    950: '#000000',
  },
}
SCSS
$custom: #6036af;
$custom-light: #9470c8;
$custom-dark: #000000;
JSON
{
  "hex": "#6036af",
  "rgb": {
    "r": 96,
    "g": 54,
    "b": 175
  },
  "hsl": {
    "h": 260.826,
    "s": 52.838,
    "l": 44.902
  },
  "oklch": {
    "l": 0.45494,
    "c": 0.1813,
    "h": 293.9
  },
  "luminance": 0.0822
}

Semantic roles & 50–950 ramp

primary
#6036AF
secondary
#ABC37D
accent
#DC4CAA
background
#F9F6FC
surface
#F2ECF8
border
#CCC7D1
text
#0E0813
muted
#7E7B82

Preview Lab

Preview with #6036AF

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

Preview Lab → · Contrast checker → · Palette generator →

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