#36125C#36125C

#36125C is a dark, vivid violet. Relative luminance 0.020; OKLCH L 28.6% C 0.123 H 300.9°. Best body text is #FFFFFF at 15.02:1 contrast (WCAG AA passes).

Color values

HEX#36125C
RGBrgb(54, 18, 92)
HSLhsl(269, 67%, 22%)
HSVhsv(269, 80%, 36%)
CMYKcmyk(41.3%, 80.4%, 0%, 63.9%)
CIE-LABlab(15.43, 33.49, -36.98)
CIE-LCHlch(15.43, 49.89, 312.17°)
OKLaboklab(28.61% 0.0631 -0.1056)
OKLCHoklch(28.61% 0.123 300.9)
XYZxyz(3.6689, 1.9896, 10.3139)
Luminance0.0199 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#36125C #385C12
analogous
#12135C #36125C #5B125C
triadic
#36125C #5C3612 #125C36
tetradic
#36125C #5C1213 #385C12 #125C5B
square
#36125C #5C1213 #385C12 #125C5B
split-complementary
#36125C #5C5B12 #135C12
monochromatic
#0F051A #180829 #36125C #541C8F #7226C2

Accessibility & contrast

On white

15.02
#36125C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#36125C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #36125C
15.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##36125C#FFFFFF#000000##FFFFFF
##36125C1.0015.021.4015.02
#FFFFFF15.021.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00265E
Deuteranopia (green-blind)
#00265B
Tritanopia (blue-blind)
#2D2536
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #36125c;
/* rgb */ color: rgb(54, 18, 92);
/* oklch */ color: oklch(28.6% 0.123 300.9);
Tailwind
colors: {
  custom: {
    50: '#71548b',
    500: '#36125c',
    950: '#000000',
  },
}
SCSS
$custom: #36125c;
$custom-light: #71548b;
$custom-dark: #000000;
JSON
{
  "hex": "#36125c",
  "rgb": {
    "r": 54,
    "g": 18,
    "b": 92
  },
  "hsl": {
    "h": 269.189,
    "s": 67.273,
    "l": 21.569
  },
  "oklch": {
    "l": 0.28606,
    "c": 0.12298,
    "h": 300.9
  },
  "luminance": 0.0199
}

Semantic roles & 50–950 ramp

primary
#36125C
secondary
#669435
accent
#EA3E96
background
#F7F5F8
surface
#EDE8F0
border
#C8C4CB
text
#08030C
muted
#7B787D

Preview Lab

Preview with #36125C

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

Preview Lab → · Contrast checker → · Palette generator →

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