#361B7B#361B7B

#361B7B is a dark, vivid violet. Relative luminance 0.030; OKLCH L 32.8% C 0.150 H 287.9°. Best body text is #FFFFFF at 13.13:1 contrast (WCAG AA passes).

Color values

HEX#361B7B
RGBrgb(54, 27, 123)
HSLhsl(257, 64%, 29%)
HSVhsv(257, 78%, 48%)
CMYKcmyk(56.1%, 78%, 0%, 51.8%)
CIE-LABlab(20.04, 37.92, -49.68)
CIE-LCHlch(20.04, 62.50, 307.35°)
OKLaboklab(32.76% 0.0461 -0.1429)
OKLCHoklch(32.76% 0.15 287.9)
XYZxyz(5.4873, 2.9979, 19.0246)
Luminance0.0300 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#361B7B #607B1B
analogous
#1B307B #361B7B #661B7B
triadic
#361B7B #7B361B #1B7B36
tetradic
#361B7B #7B1B30 #607B1B #1B7B66
square
#361B7B #7B1B30 #607B1B #1B7B66
split-complementary
#361B7B #7B661B #307B1B
monochromatic
#0B0619 #201049 #361B7B #4C26AD #673CD4

Accessibility & contrast

On white

13.13
#361B7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#361B7B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #361B7B
13.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##361B7B#FFFFFF#000000##FFFFFF
##361B7B1.0013.131.6013.13
#FFFFFF13.131.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00327E
Deuteranopia (green-blind)
#002E79
Tritanopia (blue-blind)
#1A364A
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #361b7b;
/* rgb */ color: rgb(54, 27, 123);
/* oklch */ color: oklch(32.8% 0.150 287.9);
Tailwind
colors: {
  custom: {
    50: '#765ba2',
    500: '#361b7b',
    950: '#000000',
  },
}
SCSS
$custom: #361b7b;
$custom-light: #765ba2;
$custom-dark: #000000;
JSON
{
  "hex": "#361b7b",
  "rgb": {
    "r": 54,
    "g": 27,
    "b": 123
  },
  "hsl": {
    "h": 256.875,
    "s": 64,
    "l": 29.412
  },
  "oklch": {
    "l": 0.32761,
    "c": 0.15017,
    "h": 287.9
  },
  "luminance": 0.02998
}

Semantic roles & 50–950 ramp

primary
#361B7B
secondary
#91AF43
accent
#E741B8
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#09040F
muted
#7B797F

Preview Lab

Preview with #361B7B

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

Preview Lab → · Contrast checker → · Palette generator →

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