#361D7B#361D7B

#361D7B is a dark, vivid violet. Relative luminance 0.031; OKLCH L 33.0% C 0.148 H 287.5°. Best body text is #FFFFFF at 12.97:1 contrast (WCAG AA passes).

Color values

HEX#361D7B
RGBrgb(54, 29, 123)
HSLhsl(256, 62%, 30%)
HSVhsv(256, 76%, 48%)
CMYKcmyk(56.1%, 76.4%, 0%, 51.8%)
CIE-LABlab(20.41, 36.85, -49.06)
CIE-LCHlch(20.41, 61.36, 306.91°)
OKLaboklab(33.03% 0.0445 -0.1411)
OKLCHoklch(33.03% 0.148 287.5)
XYZxyz(5.5348, 3.0928, 19.0404)
Luminance0.0309 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#361D7B #627B1D
analogous
#1D337B #361D7B #651D7B
triadic
#361D7B #7B361D #1D7B36
tetradic
#361D7B #7B1D33 #627B1D #1D7B65
square
#361D7B #7B1D33 #627B1D #1D7B65
split-complementary
#361D7B #7B651D #337B1D
monochromatic
#0B0619 #201149 #361D7B #4C29AD #6740D2

Accessibility & contrast

On white

12.97
#361D7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#361D7B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #361D7B
12.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##361D7B#FFFFFF#000000##FFFFFF
##361D7B1.0012.971.6212.97
#FFFFFF12.971.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00337E
Deuteranopia (green-blind)
#002F79
Tritanopia (blue-blind)
#19374A
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #361d7b;
/* rgb */ color: rgb(54, 29, 123);
/* oklch */ color: oklch(33.0% 0.148 287.5);
Tailwind
colors: {
  custom: {
    50: '#755ca2',
    500: '#361d7b',
    950: '#000000',
  },
}
SCSS
$custom: #361d7b;
$custom-light: #755ca2;
$custom-dark: #000000;
JSON
{
  "hex": "#361d7b",
  "rgb": {
    "r": 54,
    "g": 29,
    "b": 123
  },
  "hsl": {
    "h": 255.957,
    "s": 61.842,
    "l": 29.804
  },
  "oklch": {
    "l": 0.33026,
    "c": 0.14795,
    "h": 287.5
  },
  "luminance": 0.03093
}

Semantic roles & 50–950 ramp

primary
#361D7B
secondary
#93AF45
accent
#E543BA
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#09040F
muted
#7B797F

Preview Lab

Preview with #361D7B

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

Preview Lab → · Contrast checker → · Palette generator →

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