#36125F#36125F

#36125F is a dark, vivid violet. Relative luminance 0.020; OKLCH L 28.9% C 0.127 H 299.5°. Best body text is #FFFFFF at 14.91:1 contrast (WCAG AA passes).

Color values

HEX#36125F
RGBrgb(54, 18, 95)
HSLhsl(268, 68%, 22%)
HSVhsv(268, 81%, 37%)
CMYKcmyk(43.2%, 81.1%, 0%, 62.7%)
CIE-LABlab(15.71, 34.32, -38.52)
CIE-LCHlch(15.71, 51.59, 311.70°)
OKLaboklab(28.89% 0.0623 -0.1101)
OKLCHoklch(28.89% 0.127 299.5)
XYZxyz(3.8027, 2.0431, 11.0183)
Luminance0.0204 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#36125F #3B5F12
analogous
#12145F #36125F #5D125F
triadic
#36125F #5F3612 #125F36
tetradic
#36125F #5F1214 #3B5F12 #125F5D
square
#36125F #5F1214 #3B5F12 #125F5D
split-complementary
#36125F #5F5D12 #145F12
monochromatic
#0F051A #19082C #36125F #531C92 #7025C6

Accessibility & contrast

On white

14.91
#36125F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #36125F
14.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##36125F#FFFFFF#000000##FFFFFF
##36125F1.0014.911.4114.91
#FFFFFF14.911.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.911.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #36125f;
/* rgb */ color: rgb(54, 18, 95);
/* oklch */ color: oklch(28.9% 0.127 299.5);
Tailwind
colors: {
  custom: {
    50: '#72548d',
    500: '#36125f',
    950: '#000000',
  },
}
SCSS
$custom: #36125f;
$custom-light: #72548d;
$custom-dark: #000000;
JSON
{
  "hex": "#36125f",
  "rgb": {
    "r": 54,
    "g": 18,
    "b": 95
  },
  "hsl": {
    "h": 268.052,
    "s": 68.142,
    "l": 22.157
  },
  "oklch": {
    "l": 0.28889,
    "c": 0.1265,
    "h": 299.5
  },
  "luminance": 0.02043
}

Semantic roles & 50–950 ramp

primary
#36125F
secondary
#6A9736
accent
#EB3D9A
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#08030C
muted
#7B787D

Preview Lab

Preview with #36125F

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

Preview Lab → · Contrast checker → · Palette generator →

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