#361C7D#361C7D

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

Color values

HEX#361C7D
RGBrgb(54, 28, 125)
HSLhsl(256, 63%, 30%)
HSVhsv(256, 78%, 49%)
CMYKcmyk(56.8%, 77.6%, 0%, 51%)
CIE-LABlab(20.42, 38.00, -50.32)
CIE-LCHlch(20.42, 63.06, 307.06°)
OKLaboklab(33.09% 0.0448 -0.1448)
OKLCHoklch(33.09% 0.152 287.2)
XYZxyz(5.6371, 3.0951, 19.6984)
Luminance0.0309 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#361C7D #637D1C
analogous
#1C337D #361C7D #661C7D
triadic
#361C7D #7D361C #1C7D36
tetradic
#361C7D #7D1C33 #637D1C #1C7D66
square
#361C7D #7D1C33 #637D1C #1C7D66
split-complementary
#361C7D #7D661C #337D1C
monochromatic
#0B0619 #20114B #361C7D #4C27AF #673FD4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##361C7D#FFFFFF#000000##FFFFFF
##361C7D1.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)
#003380
Deuteranopia (green-blind)
#002E7B
Tritanopia (blue-blind)
#17374B
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #361c7d;
/* rgb */ color: rgb(54, 28, 125);
/* oklch */ color: oklch(33.1% 0.152 287.2);
Tailwind
colors: {
  custom: {
    50: '#765ba4',
    500: '#361c7d',
    950: '#000000',
  },
}
SCSS
$custom: #361c7d;
$custom-light: #765ba4;
$custom-dark: #000000;
JSON
{
  "hex": "#361c7d",
  "rgb": {
    "r": 54,
    "g": 28,
    "b": 125
  },
  "hsl": {
    "h": 256.082,
    "s": 63.399,
    "l": 30
  },
  "oklch": {
    "l": 0.33093,
    "c": 0.15155,
    "h": 287.2
  },
  "luminance": 0.03095
}

Semantic roles & 50–950 ramp

primary
#361C7D
secondary
#94B144
accent
#E641BA
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#09040F
muted
#7B797F

Preview Lab

Preview with #361C7D

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

Preview Lab → · Contrast checker → · Palette generator →

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