#36125E#36125E

#36125E is a dark, vivid violet. Relative luminance 0.020; OKLCH L 28.8% C 0.125 H 299.9°. Best body text is #FFFFFF at 14.95:1 contrast (WCAG AA passes).

Color values

HEX#36125E
RGBrgb(54, 18, 94)
HSLhsl(268, 68%, 22%)
HSVhsv(268, 81%, 37%)
CMYKcmyk(42.6%, 80.9%, 0%, 63.1%)
CIE-LABlab(15.62, 34.05, -38.01)
CIE-LCHlch(15.62, 51.03, 311.85°)
OKLaboklab(28.79% 0.0625 -0.1086)
OKLCHoklch(28.79% 0.125 299.9)
XYZxyz(3.7575, 2.0250, 10.7804)
Luminance0.0203 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#36125E #3A5E12
analogous
#12145E #36125E #5C125E
triadic
#36125E #5E3612 #125E36
tetradic
#36125E #5E1214 #3A5E12 #125E5C
square
#36125E #5E1214 #3A5E12 #125E5C
split-complementary
#36125E #5E5C12 #145E12
monochromatic
#0F051A #18082B #36125E #541C91 #7126C5

Accessibility & contrast

On white

14.95
#36125E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#36125E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #36125E
14.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##36125E#FFFFFF#000000##FFFFFF
##36125E1.0014.951.4114.95
#FFFFFF14.951.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002760
Deuteranopia (green-blind)
#00265D
Tritanopia (blue-blind)
#2D2637
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #36125e;
/* rgb */ color: rgb(54, 18, 94);
/* oklch */ color: oklch(28.8% 0.125 299.9);
Tailwind
colors: {
  custom: {
    50: '#72548c',
    500: '#36125e',
    950: '#000000',
  },
}
SCSS
$custom: #36125e;
$custom-light: #72548c;
$custom-dark: #000000;
JSON
{
  "hex": "#36125e",
  "rgb": {
    "r": 54,
    "g": 18,
    "b": 94
  },
  "hsl": {
    "h": 268.421,
    "s": 67.857,
    "l": 21.961
  },
  "oklch": {
    "l": 0.28794,
    "c": 0.12533,
    "h": 299.9
  },
  "luminance": 0.02025
}

Semantic roles & 50–950 ramp

primary
#36125E
secondary
#689635
accent
#EB3D98
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#08030C
muted
#7B787D

Preview Lab

Preview with #36125E

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

Preview Lab → · Contrast checker → · Palette generator →

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