#36267C#36267C

#36267C is a dark, vivid violet. Relative luminance 0.036; OKLCH L 34.5% C 0.138 H 285.1°. Best body text is #FFFFFF at 12.17:1 contrast (WCAG AA passes).

Color values

HEX#36267C
RGBrgb(54, 38, 124)
HSLhsl(251, 53%, 32%)
HSVhsv(251, 69%, 49%)
CMYKcmyk(56.5%, 69.4%, 0%, 51.4%)
CIE-LABlab(22.39, 31.95, -46.46)
CIE-LCHlch(22.39, 56.38, 304.51°)
OKLaboklab(34.47% 0.0359 -0.1335)
OKLCHoklch(34.47% 0.138 285.1)
XYZxyz(5.8514, 3.6254, 19.4563)
Luminance0.0363 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#36267C #6C7C26
analogous
#26417C #36267C #61267C
triadic
#36267C #7C3626 #267C36
tetradic
#36267C #7C2641 #6C7C26 #267C61
square
#36267C #7C2641 #6C7C26 #267C61
split-complementary
#36267C #7C6126 #417C26
monochromatic
#0D091E #22184D #36267C #4A34AB #6952CA

Accessibility & contrast

On white

12.17
#36267C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #36267C
12.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##36267C#FFFFFF#000000##FFFFFF
##36267C1.0012.171.7312.17
#FFFFFF12.171.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00387F
Deuteranopia (green-blind)
#00337A
Tritanopia (blue-blind)
#173C4D
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #36267c;
/* rgb */ color: rgb(54, 38, 124);
/* oklch */ color: oklch(34.5% 0.138 285.1);
Tailwind
colors: {
  custom: {
    50: '#7561a3',
    500: '#36267c',
    950: '#000000',
  },
}
SCSS
$custom: #36267c;
$custom-light: #7561a3;
$custom-dark: #000000;
JSON
{
  "hex": "#36267c",
  "rgb": {
    "r": 54,
    "g": 38,
    "b": 124
  },
  "hsl": {
    "h": 251.163,
    "s": 53.086,
    "l": 31.765
  },
  "oklch": {
    "l": 0.34467,
    "c": 0.13825,
    "h": 285.1
  },
  "luminance": 0.03626
}

Semantic roles & 50–950 ramp

primary
#36267C
secondary
#9DAE50
accent
#DC4BC1
background
#F7F5FA
surface
#EDEAF4
border
#C8C6CE
text
#09050F
muted
#7B797F

Preview Lab

Preview with #36267C

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

Preview Lab → · Contrast checker → · Palette generator →

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