#361B5B#361B5B

#361B5B is a dark, moderate violet. Relative luminance 0.023; OKLCH L 29.8% C 0.109 H 299.0°. Best body text is #FFFFFF at 14.34:1 contrast (WCAG AA passes).

Color values

HEX#361B5B
RGBrgb(54, 27, 91)
HSLhsl(265, 54%, 23%)
HSVhsv(265, 70%, 36%)
CMYKcmyk(40.7%, 70.3%, 0%, 64.3%)
CIE-LABlab(17.10, 28.31, -33.60)
CIE-LCHlch(17.10, 43.93, 310.12°)
OKLaboklab(29.77% 0.053 -0.0957)
OKLCHoklch(29.77% 0.109 299)
XYZxyz(3.8011, 2.3234, 10.1437)
Luminance0.0232 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#361B5B #405B1B
analogous
#1B205B #361B5B #561B5B
triadic
#361B5B #5B361B #1B5B36
tetradic
#361B5B #5B1B20 #405B1B #1B5B56
square
#361B5B #5B1B20 #405B1B #1B5B56
split-complementary
#361B5B #5B561B #205B1B
monochromatic
#0E0718 #1A0D2C #361B5B #52298A #6E37B9

Accessibility & contrast

On white

14.34
#361B5B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#361B5B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #361B5B
14.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##361B5B#FFFFFF#000000##FFFFFF
##361B5B1.0014.341.4614.34
#FFFFFF14.341.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A5D
Deuteranopia (green-blind)
#002A5A
Tritanopia (blue-blind)
#2D2A38
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #361b5b;
/* rgb */ color: rgb(54, 27, 91);
/* oklch */ color: oklch(29.8% 0.109 299.0);
Tailwind
colors: {
  custom: {
    50: '#71598a',
    500: '#361b5b',
    950: '#000000',
  },
}
SCSS
$custom: #361b5b;
$custom-light: #71598a;
$custom-dark: #000000;
JSON
{
  "hex": "#361b5b",
  "rgb": {
    "r": 54,
    "g": 27,
    "b": 91
  },
  "hsl": {
    "h": 265.313,
    "s": 54.237,
    "l": 23.137
  },
  "oklch": {
    "l": 0.29767,
    "c": 0.10936,
    "h": 299
  },
  "luminance": 0.02323
}

Semantic roles & 50–950 ramp

primary
#361B5B
secondary
#6F9141
accent
#DE4A9F
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#08030C
muted
#7B787D

Preview Lab

Preview with #361B5B

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

Preview Lab → · Contrast checker → · Palette generator →

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