#36277A#36277A

#36277A is a dark, vivid violet. Relative luminance 0.036; OKLCH L 34.4% C 0.134 H 285.2°. Best body text is #FFFFFF at 12.15:1 contrast (WCAG AA passes).

Color values

HEX#36277A
RGBrgb(54, 39, 122)
HSLhsl(251, 52%, 32%)
HSVhsv(251, 68%, 48%)
CMYKcmyk(55.7%, 68%, 0%, 52.2%)
CIE-LABlab(22.44, 30.67, -45.10)
CIE-LCHlch(22.44, 54.54, 304.22°)
OKLaboklab(34.45% 0.0352 -0.1295)
OKLCHoklch(34.45% 0.134 285.2)
XYZxyz(5.7586, 3.6401, 18.8078)
Luminance0.0364 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#36277A #6B7A27
analogous
#27427A #36277A #60277A
triadic
#36277A #7A3627 #277A36
tetradic
#36277A #7A2742 #6B7A27 #277A60
square
#36277A #7A2742 #6B7A27 #277A60
split-complementary
#36277A #7A6027 #427A27
monochromatic
#0D091D #21184C #36277A #4B36A8 #6853C8

Accessibility & contrast

On white

12.15
#36277A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#36277A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #36277A
12.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##36277A#FFFFFF#000000##FFFFFF
##36277A1.0012.151.7312.15
#FFFFFF12.151.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00387D
Deuteranopia (green-blind)
#003378
Tritanopia (blue-blind)
#193C4D
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #36277a;
/* rgb */ color: rgb(54, 39, 122);
/* oklch */ color: oklch(34.4% 0.134 285.2);
Tailwind
colors: {
  custom: {
    50: '#7462a1',
    500: '#36277a',
    950: '#000000',
  },
}
SCSS
$custom: #36277a;
$custom-light: #7462a1;
$custom-dark: #000000;
JSON
{
  "hex": "#36277a",
  "rgb": {
    "r": 54,
    "g": 39,
    "b": 122
  },
  "hsl": {
    "h": 250.843,
    "s": 51.553,
    "l": 31.569
  },
  "oklch": {
    "l": 0.3445,
    "c": 0.13422,
    "h": 285.2
  },
  "luminance": 0.0364
}

Semantic roles & 50–950 ramp

primary
#36277A
secondary
#9CAC51
accent
#DB4DC1
background
#F7F5FA
surface
#EDEAF3
border
#C8C6CD
text
#09050F
muted
#7B797F

Preview Lab

Preview with #36277A

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

Preview Lab → · Contrast checker → · Palette generator →

#36277A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva