#36124F#36124F

#36124F is a dark, moderate violet. Relative luminance 0.018; OKLCH L 27.4% C 0.108 H 307.7°. Best body text is #FFFFFF at 15.48:1 contrast (WCAG AA passes).

Color values

HEX#36124F
RGBrgb(54, 18, 79)
HSLhsl(275, 63%, 19%)
HSVhsv(275, 77%, 31%)
CMYKcmyk(31.6%, 77.2%, 0%, 69%)
CIE-LABlab(14.30, 30.00, -30.02)
CIE-LCHlch(14.30, 42.44, 314.98°)
OKLaboklab(27.45% 0.0659 -0.0851)
OKLCHoklch(27.45% 0.108 307.7)
XYZxyz(3.1486, 1.7814, 7.5736)
Luminance0.0178 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#36124F #2B4F12
analogous
#18124F #36124F #4F124A
triadic
#36124F #4F3612 #124F36
tetradic
#36124F #4F1812 #2B4F12 #124A4F
square
#36124F #4F1812 #2B4F12 #124A4F
split-complementary
#36124F #4A4F12 #124F18
monochromatic
#110619 #14071D #36124F #581D81 #7A29B3

Accessibility & contrast

On white

15.48
#36124F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#36124F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #36124F
15.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##36124F#FFFFFF#000000##FFFFFF
##36124F1.0015.481.3615.48
#FFFFFF15.481.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002351
Deuteranopia (green-blind)
#03254E
Tritanopia (blue-blind)
#32202F
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #36124f;
/* rgb */ color: rgb(54, 18, 79);
/* oklch */ color: oklch(27.4% 0.108 307.7);
Tailwind
colors: {
  custom: {
    50: '#705381',
    500: '#36124f',
    950: '#000000',
  },
}
SCSS
$custom: #36124f;
$custom-light: #705381;
$custom-dark: #000000;
JSON
{
  "hex": "#36124f",
  "rgb": {
    "r": 54,
    "g": 18,
    "b": 79
  },
  "hsl": {
    "h": 275.41,
    "s": 62.887,
    "l": 19.02
  },
  "oklch": {
    "l": 0.27445,
    "c": 0.10764,
    "h": 307.7
  },
  "luminance": 0.01781
}

Semantic roles & 50–950 ramp

primary
#36124F
secondary
#578835
accent
#E64285
background
#F6F4F7
surface
#ECE7EE
border
#C7C3C9
text
#08030A
muted
#7B787C

Preview Lab

Preview with #36124F

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

Preview Lab → · Contrast checker → · Palette generator →

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