#361D71#361D71

#361D71 is a dark, vivid violet. Relative luminance 0.029; OKLCH L 32.1% C 0.135 H 290.3°. Best body text is #FFFFFF at 13.37:1 contrast (WCAG AA passes).

Color values

HEX#361D71
RGBrgb(54, 29, 113)
HSLhsl(258, 59%, 28%)
HSVhsv(258, 74%, 44%)
CMYKcmyk(52.2%, 74.3%, 0%, 55.7%)
CIE-LABlab(19.45, 33.78, -44.21)
CIE-LCHlch(19.45, 55.64, 307.38°)
OKLaboklab(32.05% 0.0469 -0.1269)
OKLCHoklch(32.05% 0.135 290.3)
XYZxyz(4.9405, 2.8551, 15.9103)
Luminance0.0285 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#361D71 #58711D
analogous
#1D2E71 #361D71 #601D71
triadic
#361D71 #71361D #1D7136
tetradic
#361D71 #711D2E #58711D #1D7160
square
#361D71 #711D2E #58711D #1D7160
split-complementary
#361D71 #71601D #2E711D
monochromatic
#0C0618 #1F1140 #361D71 #4D29A2 #673CCD

Accessibility & contrast

On white

13.37
#361D71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#361D71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #361D71
13.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##361D71#FFFFFF#000000##FFFFFF
##361D711.0013.371.5713.37
#FFFFFF13.371.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003173
Deuteranopia (green-blind)
#002D6F
Tritanopia (blue-blind)
#223345
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #361d71;
/* rgb */ color: rgb(54, 29, 113);
/* oklch */ color: oklch(32.1% 0.135 290.3);
Tailwind
colors: {
  custom: {
    50: '#745b9b',
    500: '#361d71',
    950: '#000000',
  },
}
SCSS
$custom: #361d71;
$custom-light: #745b9b;
$custom-dark: #000000;
JSON
{
  "hex": "#361d71",
  "rgb": {
    "r": 54,
    "g": 29,
    "b": 113
  },
  "hsl": {
    "h": 257.857,
    "s": 59.155,
    "l": 27.843
  },
  "oklch": {
    "l": 0.32054,
    "c": 0.13528,
    "h": 290.3
  },
  "luminance": 0.02855
}

Semantic roles & 50–950 ramp

primary
#361D71
secondary
#88A544
accent
#E245B4
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09040E
muted
#7B797E

Preview Lab

Preview with #361D71

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

Preview Lab → · Contrast checker → · Palette generator →

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