#361B7E#361B7E

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

Color values

HEX#361B7E
RGBrgb(54, 27, 126)
HSLhsl(256, 65%, 30%)
HSVhsv(256, 79%, 49%)
CMYKcmyk(57.1%, 78.6%, 0%, 50.6%)
CIE-LABlab(20.34, 38.83, -51.09)
CIE-LCHlch(20.34, 64.17, 307.23°)
OKLaboklab(33.07% 0.0453 -0.147)
OKLCHoklch(33.07% 0.154 287.1)
XYZxyz(5.6780, 3.0742, 20.0288)
Luminance0.0307 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#361B7E #637E1B
analogous
#1B317E #361B7E #681B7E
triadic
#361B7E #7E361B #1B7E36
tetradic
#361B7E #7E1B31 #637E1B #1B7E68
square
#361B7E #7E1B31 #637E1B #1B7E68
split-complementary
#361B7E #7E681B #317E1B
monochromatic
#0B0519 #20104C #361B7E #4C26B0 #673ED6

Accessibility & contrast

On white

13.00
#361B7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#361B7E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #361B7E
13.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##361B7E#FFFFFF#000000##FFFFFF
##361B7E1.0013.001.6113.00
#FFFFFF13.001.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003381
Deuteranopia (green-blind)
#002E7C
Tritanopia (blue-blind)
#16374B
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #361b7e;
/* rgb */ color: rgb(54, 27, 126);
/* oklch */ color: oklch(33.1% 0.154 287.1);
Tailwind
colors: {
  custom: {
    50: '#765ba4',
    500: '#361b7e',
    950: '#000000',
  },
}
SCSS
$custom: #361b7e;
$custom-light: #765ba4;
$custom-dark: #000000;
JSON
{
  "hex": "#361b7e",
  "rgb": {
    "r": 54,
    "g": 27,
    "b": 126
  },
  "hsl": {
    "h": 256.364,
    "s": 64.706,
    "l": 30
  },
  "oklch": {
    "l": 0.33066,
    "c": 0.15385,
    "h": 287.1
  },
  "luminance": 0.03074
}

Semantic roles & 50–950 ramp

primary
#361B7E
secondary
#94B243
accent
#E840BA
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#09040F
muted
#7B797F

Preview Lab

Preview with #361B7E

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

Preview Lab → · Contrast checker → · Palette generator →

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