#361B7D#361B7D

#361B7D is a dark, vivid violet. Relative luminance 0.030; OKLCH L 33.0% C 0.153 H 287.4°. Best body text is #FFFFFF at 13.05:1 contrast (WCAG AA passes).

Color values

HEX#361B7D
RGBrgb(54, 27, 125)
HSLhsl(257, 64%, 30%)
HSVhsv(257, 78%, 49%)
CMYKcmyk(56.8%, 78.4%, 0%, 51%)
CIE-LABlab(20.24, 38.53, -50.62)
CIE-LCHlch(20.24, 63.61, 307.27°)
OKLaboklab(32.96% 0.0456 -0.1457)
OKLCHoklch(32.96% 0.153 287.4)
XYZxyz(5.6138, 3.0485, 19.6907)
Luminance0.0305 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#361B7D #627D1B
analogous
#1B317D #361B7D #671B7D
triadic
#361B7D #7D361B #1B7D36
tetradic
#361B7D #7D1B31 #627D1B #1B7D67
square
#361B7D #7D1B31 #627D1B #1B7D67
split-complementary
#361B7D #7D671B #317D1B
monochromatic
#0B0519 #20104B #361B7D #4C26AF #673DD5

Accessibility & contrast

On white

13.05
#361B7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#361B7D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #361B7D
13.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##361B7D#FFFFFF#000000##FFFFFF
##361B7D1.0013.051.6113.05
#FFFFFF13.051.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003380
Deuteranopia (green-blind)
#002E7B
Tritanopia (blue-blind)
#17374B
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #361b7d;
/* rgb */ color: rgb(54, 27, 125);
/* oklch */ color: oklch(33.0% 0.153 287.4);
Tailwind
colors: {
  custom: {
    50: '#765ba4',
    500: '#361b7d',
    950: '#000000',
  },
}
SCSS
$custom: #361b7d;
$custom-light: #765ba4;
$custom-dark: #000000;
JSON
{
  "hex": "#361b7d",
  "rgb": {
    "r": 54,
    "g": 27,
    "b": 125
  },
  "hsl": {
    "h": 256.531,
    "s": 64.474,
    "l": 29.804
  },
  "oklch": {
    "l": 0.32964,
    "c": 0.15262,
    "h": 287.4
  },
  "luminance": 0.03049
}

Semantic roles & 50–950 ramp

primary
#361B7D
secondary
#93B143
accent
#E740B9
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#09040F
muted
#7B797F

Preview Lab

Preview with #361B7D

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

Preview Lab → · Contrast checker → · Palette generator →

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