#36267D#36267D

#36267D is a dark, vivid violet. Relative luminance 0.037; OKLCH L 34.6% C 0.140 H 284.9°. Best body text is #FFFFFF at 12.14:1 contrast (WCAG AA passes).

Color values

HEX#36267D
RGBrgb(54, 38, 125)
HSLhsl(251, 53%, 32%)
HSVhsv(251, 70%, 49%)
CMYKcmyk(56.8%, 69.6%, 0%, 51%)
CIE-LABlab(22.48, 32.27, -46.94)
CIE-LCHlch(22.48, 56.97, 304.51°)
OKLaboklab(34.56% 0.0358 -0.1349)
OKLCHoklch(34.56% 0.14 284.9)
XYZxyz(5.9150, 3.6508, 19.7911)
Luminance0.0365 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#36267D #6D7D26
analogous
#26427D #36267D #61267D
triadic
#36267D #7D3626 #267D36
tetradic
#36267D #7D2642 #6D7D26 #267D61
square
#36267D #7D2642 #6D7D26 #267D61
split-complementary
#36267D #7D6126 #427D26
monochromatic
#0D091F #22184E #36267D #4A34AC #6953CB

Accessibility & contrast

On white

12.14
#36267D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#36267D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #36267D
12.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##36267D#FFFFFF#000000##FFFFFF
##36267D1.0012.141.7312.14
#FFFFFF12.141.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.141.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #36267d;
/* rgb */ color: rgb(54, 38, 125);
/* oklch */ color: oklch(34.6% 0.140 284.9);
Tailwind
colors: {
  custom: {
    50: '#7561a3',
    500: '#36267d',
    950: '#000000',
  },
}
SCSS
$custom: #36267d;
$custom-light: #7561a3;
$custom-dark: #000000;
JSON
{
  "hex": "#36267d",
  "rgb": {
    "r": 54,
    "g": 38,
    "b": 125
  },
  "hsl": {
    "h": 251.034,
    "s": 53.374,
    "l": 31.961
  },
  "oklch": {
    "l": 0.3456,
    "c": 0.13959,
    "h": 284.9
  },
  "luminance": 0.03651
}

Semantic roles & 50–950 ramp

primary
#36267D
secondary
#9DAF50
accent
#DD4BC2
background
#F7F5FA
surface
#EDEAF4
border
#C8C6CE
text
#09050F
muted
#7B797F

Preview Lab

Preview with #36267D

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

Preview Lab → · Contrast checker → · Palette generator →

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