#361E7B#361E7B

#361E7B is a dark, vivid violet. Relative luminance 0.031; OKLCH L 33.2% C 0.147 H 287.3°. Best body text is #FFFFFF at 12.89:1 contrast (WCAG AA passes).

Color values

HEX#361E7B
RGBrgb(54, 30, 123)
HSLhsl(255, 61%, 30%)
HSVhsv(255, 76%, 48%)
CMYKcmyk(56.1%, 75.6%, 0%, 51.8%)
CIE-LABlab(20.61, 36.31, -48.74)
CIE-LCHlch(20.61, 60.78, 306.68°)
OKLaboklab(33.16% 0.0436 -0.1402)
OKLCHoklch(33.16% 0.147 287.3)
XYZxyz(5.5597, 3.1426, 19.0487)
Luminance0.0314 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#361E7B #637B1E
analogous
#1E347B #361E7B #651E7B
triadic
#361E7B #7B361E #1E7B36
tetradic
#361E7B #7B1E34 #637B1E #1E7B65
square
#361E7B #7B1E34 #637B1E #1E7B65
split-complementary
#361E7B #7B651E #347B1E
monochromatic
#0B0619 #20124A #361E7B #4C2AAC #6742D1

Accessibility & contrast

On white

12.89
#361E7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#361E7B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #361E7B
12.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##361E7B#FFFFFF#000000##FFFFFF
##361E7B1.0012.891.6312.89
#FFFFFF12.891.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.891.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #361e7b;
/* rgb */ color: rgb(54, 30, 123);
/* oklch */ color: oklch(33.2% 0.147 287.3);
Tailwind
colors: {
  custom: {
    50: '#755ca2',
    500: '#361e7b',
    950: '#000000',
  },
}
SCSS
$custom: #361e7b;
$custom-light: #755ca2;
$custom-dark: #000000;
JSON
{
  "hex": "#361e7b",
  "rgb": {
    "r": 54,
    "g": 30,
    "b": 123
  },
  "hsl": {
    "h": 255.484,
    "s": 60.784,
    "l": 30
  },
  "oklch": {
    "l": 0.33163,
    "c": 0.14681,
    "h": 287.3
  },
  "luminance": 0.03143
}

Semantic roles & 50–950 ramp

primary
#361E7B
secondary
#94AE46
accent
#E444BB
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#09040F
muted
#7B797F

Preview Lab

Preview with #361E7B

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

Preview Lab → · Contrast checker → · Palette generator →

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