#36277D#36277D

#36277D is a dark, vivid violet. Relative luminance 0.037; OKLCH L 34.7% C 0.138 H 284.6°. Best body text is #FFFFFF at 12.05:1 contrast (WCAG AA passes).

Color values

HEX#36277D
RGBrgb(54, 39, 125)
HSLhsl(250, 52%, 32%)
HSVhsv(250, 69%, 49%)
CMYKcmyk(56.8%, 68.8%, 0%, 51%)
CIE-LABlab(22.71, 31.66, -46.57)
CIE-LCHlch(22.71, 56.32, 304.20°)
OKLaboklab(34.72% 0.0348 -0.1338)
OKLCHoklch(34.72% 0.138 284.6)
XYZxyz(5.9474, 3.7156, 19.8019)
Luminance0.0372 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#36277D #6E7D27
analogous
#27437D #36277D #61277D
triadic
#36277D #7D3627 #277D36
tetradic
#36277D #7D2743 #6E7D27 #277D61
square
#36277D #7D2743 #6E7D27 #277D61
split-complementary
#36277D #7D6127 #437D27
monochromatic
#0E0A20 #22184E #36277D #4A36AC #6955CA

Accessibility & contrast

On white

12.05
#36277D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#36277D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #36277D
12.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##36277D#FFFFFF#000000##FFFFFF
##36277D1.0012.051.7412.05
#FFFFFF12.051.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003980
Deuteranopia (green-blind)
#00337B
Tritanopia (blue-blind)
#163D4E
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #36277d;
/* rgb */ color: rgb(54, 39, 125);
/* oklch */ color: oklch(34.7% 0.138 284.6);
Tailwind
colors: {
  custom: {
    50: '#7562a3',
    500: '#36277d',
    950: '#000000',
  },
}
SCSS
$custom: #36277d;
$custom-light: #7562a3;
$custom-dark: #000000;
JSON
{
  "hex": "#36277d",
  "rgb": {
    "r": 54,
    "g": 39,
    "b": 125
  },
  "hsl": {
    "h": 250.465,
    "s": 52.439,
    "l": 32.157
  },
  "oklch": {
    "l": 0.34723,
    "c": 0.1383,
    "h": 284.6
  },
  "luminance": 0.03716
}

Semantic roles & 50–950 ramp

primary
#36277D
secondary
#9EAF51
accent
#DC4CC3
background
#F7F5FA
surface
#EDEAF4
border
#C8C6CE
text
#09050F
muted
#7B797F

Preview Lab

Preview with #36277D

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

Preview Lab → · Contrast checker → · Palette generator →

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