#361A7D#361A7D

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

Color values

HEX#361A7D
RGBrgb(54, 26, 125)
HSLhsl(257, 66%, 30%)
HSVhsv(257, 79%, 49%)
CMYKcmyk(56.8%, 79.2%, 0%, 51%)
CIE-LABlab(20.06, 39.04, -50.92)
CIE-LCHlch(20.06, 64.16, 307.48°)
OKLaboklab(32.84% 0.0464 -0.1465)
OKLCHoklch(32.84% 0.154 287.6)
XYZxyz(5.5913, 3.0034, 19.6832)
Luminance0.0300 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#361A7D #617D1A
analogous
#1A2F7D #361A7D #681A7D
triadic
#361A7D #7D361A #1A7D36
tetradic
#361A7D #7D1A2F #617D1A #1A7D68
square
#361A7D #7D1A2F #617D1A #1A7D68
split-complementary
#361A7D #7D681A #2F7D1A
monochromatic
#0B0519 #200F4A #361A7D #4C25B0 #673BD6

Accessibility & contrast

On white

13.12
#361A7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #361A7D
13.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##361A7D#FFFFFF#000000##FFFFFF
##361A7D1.0013.121.6013.12
#FFFFFF13.121.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.121.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #361a7d;
/* rgb */ color: rgb(54, 26, 125);
/* oklch */ color: oklch(32.8% 0.154 287.6);
Tailwind
colors: {
  custom: {
    50: '#765aa4',
    500: '#361a7d',
    950: '#000000',
  },
}
SCSS
$custom: #361a7d;
$custom-light: #765aa4;
$custom-dark: #000000;
JSON
{
  "hex": "#361a7d",
  "rgb": {
    "r": 54,
    "g": 26,
    "b": 125
  },
  "hsl": {
    "h": 256.97,
    "s": 65.563,
    "l": 29.608
  },
  "oklch": {
    "l": 0.32838,
    "c": 0.15367,
    "h": 287.6
  },
  "luminance": 0.03004
}

Semantic roles & 50–950 ramp

primary
#361A7D
secondary
#92B142
accent
#E93FB9
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#09040F
muted
#7B797F

Preview Lab

Preview with #361A7D

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

Preview Lab → · Contrast checker → · Palette generator →

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