#361B52#361B52

#361B52 is a dark, moderate violet. Relative luminance 0.022; OKLCH L 29.0% C 0.097 H 303.5°. Best body text is #FFFFFF at 14.63:1 contrast (WCAG AA passes).

Color values

HEX#361B52
RGBrgb(54, 27, 82)
HSLhsl(269, 50%, 21%)
HSVhsv(269, 67%, 32%)
CMYKcmyk(34.1%, 67.1%, 0%, 67.8%)
CIE-LABlab(16.39, 25.71, -28.68)
CIE-LCHlch(16.39, 38.52, 311.87°)
OKLaboklab(29.03% 0.0537 -0.0812)
OKLCHoklch(29.03% 0.097 303.5)
XYZxyz(3.4359, 2.1773, 8.2203)
Luminance0.0218 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#361B52 #37521B
analogous
#1B1C52 #361B52 #521B52
triadic
#361B52 #52361B #1B5236
tetradic
#361B52 #521B1C #37521B #1B5252
square
#361B52 #521B1C #37521B #1B5252
split-complementary
#361B52 #52521B #1C521B
monochromatic
#0F0817 #180C24 #361B52 #542A80 #7339AE

Accessibility & contrast

On white

14.63
#361B52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #361B52
14.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##361B52#FFFFFF#000000##FFFFFF
##361B521.0014.631.4414.63
#FFFFFF14.631.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002854
Deuteranopia (green-blind)
#0C2951
Tritanopia (blue-blind)
#312633
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #361b52;
/* rgb */ color: rgb(54, 27, 82);
/* oklch */ color: oklch(29.0% 0.097 303.5);
Tailwind
colors: {
  custom: {
    50: '#705983',
    500: '#361b52',
    950: '#000000',
  },
}
SCSS
$custom: #361b52;
$custom-light: #705983;
$custom-dark: #000000;
JSON
{
  "hex": "#361b52",
  "rgb": {
    "r": 54,
    "g": 27,
    "b": 82
  },
  "hsl": {
    "h": 269.455,
    "s": 50.459,
    "l": 21.373
  },
  "oklch": {
    "l": 0.29029,
    "c": 0.0974,
    "h": 303.5
  },
  "luminance": 0.02177
}

Semantic roles & 50–950 ramp

primary
#361B52
secondary
#658841
accent
#DA4E95
background
#F6F5F8
surface
#ECE9EF
border
#C7C5CA
text
#08030A
muted
#7B787C

Preview Lab

Preview with #361B52

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

Preview Lab → · Contrast checker → · Palette generator →

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