#361B54#361B54

#361B54 is a dark, moderate violet. Relative luminance 0.022; OKLCH L 29.2% C 0.100 H 302.4°. Best body text is #FFFFFF at 14.57:1 contrast (WCAG AA passes).

Color values

HEX#361B54
RGBrgb(54, 27, 84)
HSLhsl(268, 51%, 22%)
HSVhsv(268, 68%, 33%)
CMYKcmyk(35.7%, 67.9%, 0%, 67.1%)
CIE-LABlab(16.54, 26.28, -29.79)
CIE-LCHlch(16.54, 39.72, 311.42°)
OKLaboklab(29.19% 0.0536 -0.0845)
OKLCHoklch(29.19% 0.1 302.4)
XYZxyz(3.5131, 2.2082, 8.6269)
Luminance0.0221 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#361B54 #39541B
analogous
#1B1D54 #361B54 #531B54
triadic
#361B54 #54361B #1B5436
tetradic
#361B54 #541B1D #39541B #1B5453
square
#361B54 #541B1D #39541B #1B5453
split-complementary
#361B54 #54531B #1D541B
monochromatic
#0F0717 #180C26 #361B54 #542A82 #7239B1

Accessibility & contrast

On white

14.57
#361B54 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#361B54 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #361B54
14.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##361B54#FFFFFF#000000##FFFFFF
##361B541.0014.571.4414.57
#FFFFFF14.571.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002856
Deuteranopia (green-blind)
#092953
Tritanopia (blue-blind)
#302734
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #361b54;
/* rgb */ color: rgb(54, 27, 84);
/* oklch */ color: oklch(29.2% 0.100 302.4);
Tailwind
colors: {
  custom: {
    50: '#705984',
    500: '#361b54',
    950: '#000000',
  },
}
SCSS
$custom: #361b54;
$custom-light: #705984;
$custom-dark: #000000;
JSON
{
  "hex": "#361b54",
  "rgb": {
    "r": 54,
    "g": 27,
    "b": 84
  },
  "hsl": {
    "h": 268.421,
    "s": 51.351,
    "l": 21.765
  },
  "oklch": {
    "l": 0.29188,
    "c": 0.10007,
    "h": 302.4
  },
  "luminance": 0.02208
}

Semantic roles & 50–950 ramp

primary
#361B54
secondary
#678A41
accent
#DB4D98
background
#F6F5F8
surface
#ECE9EF
border
#C7C5CA
text
#08030B
muted
#7B787C

Preview Lab

Preview with #361B54

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

Preview Lab → · Contrast checker → · Palette generator →

#361B54 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva