#361B58#361B58

#361B58 is a dark, moderate violet. Relative luminance 0.023; OKLCH L 29.5% C 0.105 H 300.4°. Best body text is #FFFFFF at 14.44:1 contrast (WCAG AA passes).

Color values

HEX#361B58
RGBrgb(54, 27, 88)
HSLhsl(267, 53%, 23%)
HSVhsv(267, 69%, 35%)
CMYKcmyk(38.6%, 69.3%, 0%, 65.5%)
CIE-LABlab(16.86, 27.43, -31.98)
CIE-LCHlch(16.86, 42.13, 310.63°)
OKLaboklab(29.52% 0.0533 -0.0909)
OKLCHoklch(29.52% 0.105 300.4)
XYZxyz(3.6743, 2.2727, 9.4757)
Luminance0.0227 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#361B58 #3D581B
analogous
#1B1F58 #361B58 #541B58
triadic
#361B58 #58361B #1B5836
tetradic
#361B58 #581B1F #3D581B #1B5854
square
#361B58 #581B1F #3D581B #1B5854
split-complementary
#361B58 #58541B #1F581B
monochromatic
#0E0717 #190D29 #361B58 #532987 #6F38B6

Accessibility & contrast

On white

14.44
#361B58 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#361B58 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #361B58
14.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##361B58#FFFFFF#000000##FFFFFF
##361B581.0014.441.4514.44
#FFFFFF14.441.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00295A
Deuteranopia (green-blind)
#022957
Tritanopia (blue-blind)
#2F2936
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #361b58;
/* rgb */ color: rgb(54, 27, 88);
/* oklch */ color: oklch(29.5% 0.105 300.4);
Tailwind
colors: {
  custom: {
    50: '#705988',
    500: '#361b58',
    950: '#000000',
  },
}
SCSS
$custom: #361b58;
$custom-light: #705988;
$custom-dark: #000000;
JSON
{
  "hex": "#361b58",
  "rgb": {
    "r": 54,
    "g": 27,
    "b": 88
  },
  "hsl": {
    "h": 266.557,
    "s": 53.043,
    "l": 22.549
  },
  "oklch": {
    "l": 0.29515,
    "c": 0.1054,
    "h": 300.4
  },
  "luminance": 0.02273
}

Semantic roles & 50–950 ramp

primary
#361B58
secondary
#6C8E41
accent
#DC4B9C
background
#F6F5F8
surface
#ECE9F0
border
#C7C5CB
text
#08030B
muted
#7B787C

Preview Lab

Preview with #361B58

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

Preview Lab → · Contrast checker → · Palette generator →

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