#361C7F#361C7F

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

Color values

HEX#361C7F
RGBrgb(54, 28, 127)
HSLhsl(256, 64%, 30%)
HSVhsv(256, 78%, 50%)
CMYKcmyk(57.5%, 78%, 0%, 50.2%)
CIE-LABlab(20.62, 38.61, -51.26)
CIE-LCHlch(20.62, 64.17, 306.99°)
OKLaboklab(33.3% 0.0442 -0.1475)
OKLCHoklch(33.3% 0.154 286.7)
XYZxyz(5.7662, 3.1468, 20.3781)
Luminance0.0315 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#361C7F #657F1C
analogous
#1C337F #361C7F #681C7F
triadic
#361C7F #7F361C #1C7F36
tetradic
#361C7F #7F1C33 #657F1C #1C7F68
square
#361C7F #7F1C33 #657F1C #1C7F68
split-complementary
#361C7F #7F681C #337F1C
monochromatic
#0B061B #21114D #361C7F #4B27B1 #6740D5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##361C7F#FFFFFF#000000##FFFFFF
##361C7F1.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)
#003482
Deuteranopia (green-blind)
#002F7D
Tritanopia (blue-blind)
#15384C
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #361c7f;
/* rgb */ color: rgb(54, 28, 127);
/* oklch */ color: oklch(33.3% 0.154 286.7);
Tailwind
colors: {
  custom: {
    50: '#765ba5',
    500: '#361c7f',
    950: '#000000',
  },
}
SCSS
$custom: #361c7f;
$custom-light: #765ba5;
$custom-dark: #000000;
JSON
{
  "hex": "#361c7f",
  "rgb": {
    "r": 54,
    "g": 28,
    "b": 127
  },
  "hsl": {
    "h": 255.758,
    "s": 63.871,
    "l": 30.392
  },
  "oklch": {
    "l": 0.33296,
    "c": 0.15401,
    "h": 286.7
  },
  "luminance": 0.03147
}

Semantic roles & 50–950 ramp

primary
#361C7F
secondary
#96B344
accent
#E741BB
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#09040F
muted
#7B797F

Preview Lab

Preview with #361C7F

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

Preview Lab → · Contrast checker → · Palette generator →

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