#36125A#36125A

#36125A is a dark, vivid violet. Relative luminance 0.020; OKLCH L 28.4% C 0.121 H 301.8°. Best body text is #FFFFFF at 15.10:1 contrast (WCAG AA passes).

Color values

HEX#36125A
RGBrgb(54, 18, 90)
HSLhsl(270, 67%, 21%)
HSVhsv(270, 80%, 35%)
CMYKcmyk(40%, 80%, 0%, 64.7%)
CIE-LABlab(15.25, 32.95, -35.93)
CIE-LCHlch(15.25, 48.75, 312.52°)
OKLaboklab(28.42% 0.0636 -0.1025)
OKLCHoklch(28.42% 0.121 301.8)
XYZxyz(3.5826, 1.9551, 9.8595)
Luminance0.0196 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#36125A #365A12
analogous
#12125A #36125A #5A125A
triadic
#36125A #5A3612 #125A36
tetradic
#36125A #5A1212 #365A12 #125A5A
square
#36125A #5A1212 #365A12 #125A5A
split-complementary
#36125A #5A5A12 #125A12
monochromatic
#0F051A #170827 #36125A #551C8D #7326C0

Accessibility & contrast

On white

15.10
#36125A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #36125A
15.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##36125A#FFFFFF#000000##FFFFFF
##36125A1.0015.101.3915.10
#FFFFFF15.101.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00265C
Deuteranopia (green-blind)
#002659
Tritanopia (blue-blind)
#2E2435
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #36125a;
/* rgb */ color: rgb(54, 18, 90);
/* oklch */ color: oklch(28.4% 0.121 301.8);
Tailwind
colors: {
  custom: {
    50: '#715489',
    500: '#36125a',
    950: '#000000',
  },
}
SCSS
$custom: #36125a;
$custom-light: #715489;
$custom-dark: #000000;
JSON
{
  "hex": "#36125a",
  "rgb": {
    "r": 54,
    "g": 18,
    "b": 90
  },
  "hsl": {
    "h": 270,
    "s": 66.667,
    "l": 21.176
  },
  "oklch": {
    "l": 0.2842,
    "c": 0.12062,
    "h": 301.8
  },
  "luminance": 0.01955
}

Semantic roles & 50–950 ramp

primary
#36125A
secondary
#649335
accent
#EA3E94
background
#F7F5F8
surface
#EDE8F0
border
#C8C4CB
text
#08030C
muted
#7B787D

Preview Lab

Preview with #36125A

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

Preview Lab → · Contrast checker → · Palette generator →

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