#361B5C#361B5C

#361B5C is a dark, moderate violet. Relative luminance 0.023; OKLCH L 29.9% C 0.111 H 298.5°. Best body text is #FFFFFF at 14.30:1 contrast (WCAG AA passes).

Color values

HEX#361B5C
RGBrgb(54, 27, 92)
HSLhsl(265, 55%, 23%)
HSVhsv(265, 71%, 36%)
CMYKcmyk(41.3%, 70.7%, 0%, 63.9%)
CIE-LABlab(17.18, 28.61, -34.13)
CIE-LCHlch(17.18, 44.53, 309.97°)
OKLaboklab(29.85% 0.0529 -0.0972)
OKLCHoklch(29.85% 0.111 298.5)
XYZxyz(3.8445, 2.3408, 10.3724)
Luminance0.0234 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#361B5C #415C1B
analogous
#1B205C #361B5C #561B5C
triadic
#361B5C #5C361B #1B5C36
tetradic
#361B5C #5C1B20 #415C1B #1B5C56
square
#361B5C #5C1B20 #415C1B #1B5C56
split-complementary
#361B5C #5C561B #205C1B
monochromatic
#0E0718 #1A0D2D #361B5C #52298B #6E37BB

Accessibility & contrast

On white

14.30
#361B5C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#361B5C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #361B5C
14.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##361B5C#FFFFFF#000000##FFFFFF
##361B5C1.0014.301.4714.30
#FFFFFF14.301.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A5E
Deuteranopia (green-blind)
#002A5B
Tritanopia (blue-blind)
#2D2A39
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #361b5c;
/* rgb */ color: rgb(54, 27, 92);
/* oklch */ color: oklch(29.9% 0.111 298.5);
Tailwind
colors: {
  custom: {
    50: '#71598b',
    500: '#361b5c',
    950: '#000000',
  },
}
SCSS
$custom: #361b5c;
$custom-light: #71598b;
$custom-dark: #000000;
JSON
{
  "hex": "#361b5c",
  "rgb": {
    "r": 54,
    "g": 27,
    "b": 92
  },
  "hsl": {
    "h": 264.923,
    "s": 54.622,
    "l": 23.333
  },
  "oklch": {
    "l": 0.29852,
    "c": 0.11068,
    "h": 298.5
  },
  "luminance": 0.02341
}

Semantic roles & 50–950 ramp

primary
#361B5C
secondary
#709241
accent
#DE4AA0
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#08030C
muted
#7B787D

Preview Lab

Preview with #361B5C

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

Preview Lab → · Contrast checker → · Palette generator →

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