#36267A#36267A

#36267A is a dark, vivid violet. Relative luminance 0.036; OKLCH L 34.3% C 0.136 H 285.5°. Best body text is #FFFFFF at 12.24:1 contrast (WCAG AA passes).

Color values

HEX#36267A
RGBrgb(54, 38, 122)
HSLhsl(251, 53%, 31%)
HSVhsv(251, 69%, 48%)
CMYKcmyk(55.7%, 68.9%, 0%, 52.2%)
CIE-LABlab(22.21, 31.29, -45.48)
CIE-LCHlch(22.21, 55.20, 304.53°)
OKLaboklab(34.28% 0.0362 -0.1306)
OKLCHoklch(34.28% 0.136 285.5)
XYZxyz(5.7262, 3.5753, 18.7970)
Luminance0.0358 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#36267A #6A7A26
analogous
#26407A #36267A #60267A
triadic
#36267A #7A3626 #267A36
tetradic
#36267A #7A2640 #6A7A26 #267A60
square
#36267A #7A2640 #6A7A26 #267A60
split-complementary
#36267A #7A6026 #407A26
monochromatic
#0D091D #21174B #36267A #4B35A9 #6851C9

Accessibility & contrast

On white

12.24
#36267A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#36267A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #36267A
12.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##36267A#FFFFFF#000000##FFFFFF
##36267A1.0012.241.7212.24
#FFFFFF12.241.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00377D
Deuteranopia (green-blind)
#003378
Tritanopia (blue-blind)
#1A3B4C
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #36267a;
/* rgb */ color: rgb(54, 38, 122);
/* oklch */ color: oklch(34.3% 0.136 285.5);
Tailwind
colors: {
  custom: {
    50: '#7461a1',
    500: '#36267a',
    950: '#000000',
  },
}
SCSS
$custom: #36267a;
$custom-light: #7461a1;
$custom-dark: #000000;
JSON
{
  "hex": "#36267a",
  "rgb": {
    "r": 54,
    "g": 38,
    "b": 122
  },
  "hsl": {
    "h": 251.429,
    "s": 52.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.34284,
    "c": 0.13555,
    "h": 285.5
  },
  "luminance": 0.03576
}

Semantic roles & 50–950 ramp

primary
#36267A
secondary
#9BAC50
accent
#DC4CC0
background
#F7F5FA
surface
#EDEAF3
border
#C8C6CD
text
#09050F
muted
#7B797F

Preview Lab

Preview with #36267A

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

Preview Lab → · Contrast checker → · Palette generator →

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