#36125B#36125B

#36125B is a dark, vivid violet. Relative luminance 0.020; OKLCH L 28.5% C 0.122 H 301.3°. Best body text is #FFFFFF at 15.06:1 contrast (WCAG AA passes).

Color values

HEX#36125B
RGBrgb(54, 18, 91)
HSLhsl(270, 67%, 21%)
HSVhsv(270, 80%, 36%)
CMYKcmyk(40.7%, 80.2%, 0%, 64.3%)
CIE-LABlab(15.34, 33.22, -36.46)
CIE-LCHlch(15.34, 49.32, 312.34°)
OKLaboklab(28.51% 0.0633 -0.104)
OKLCHoklch(28.51% 0.122 301.3)
XYZxyz(3.6255, 1.9722, 10.0852)
Luminance0.0197 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#36125B #375B12
analogous
#12135B #36125B #5B125B
triadic
#36125B #5B3612 #125B36
tetradic
#36125B #5B1213 #375B12 #125B5B
square
#36125B #5B1213 #375B12 #125B5B
split-complementary
#36125B #5B5B12 #135B12
monochromatic
#0F051A #180828 #36125B #541C8E #7326C1

Accessibility & contrast

On white

15.06
#36125B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#36125B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #36125B
15.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##36125B#FFFFFF#000000##FFFFFF
##36125B1.0015.061.3915.06
#FFFFFF15.061.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00265D
Deuteranopia (green-blind)
#00265A
Tritanopia (blue-blind)
#2E2535
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #36125b;
/* rgb */ color: rgb(54, 18, 91);
/* oklch */ color: oklch(28.5% 0.122 301.3);
Tailwind
colors: {
  custom: {
    50: '#71548a',
    500: '#36125b',
    950: '#000000',
  },
}
SCSS
$custom: #36125b;
$custom-light: #71548a;
$custom-dark: #000000;
JSON
{
  "hex": "#36125b",
  "rgb": {
    "r": 54,
    "g": 18,
    "b": 91
  },
  "hsl": {
    "h": 269.589,
    "s": 66.972,
    "l": 21.373
  },
  "oklch": {
    "l": 0.28513,
    "c": 0.1218,
    "h": 301.3
  },
  "luminance": 0.01972
}

Semantic roles & 50–950 ramp

primary
#36125B
secondary
#659335
accent
#EA3E95
background
#F7F5F8
surface
#EDE8F0
border
#C8C4CB
text
#08030C
muted
#7B787D

Preview Lab

Preview with #36125B

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

Preview Lab → · Contrast checker → · Palette generator →

#36125B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva