#361F76#361F76

#361F76 is a dark, vivid violet. Relative luminance 0.031; OKLCH L 32.8% C 0.139 H 288.4°. Best body text is #FFFFFF at 13.01:1 contrast (WCAG AA passes).

Color values

HEX#361F76
RGBrgb(54, 31, 118)
HSLhsl(256, 58%, 29%)
HSVhsv(256, 74%, 46%)
CMYKcmyk(54.2%, 73.7%, 0%, 53.7%)
CIE-LABlab(20.33, 34.19, -46.00)
CIE-LCHlch(20.33, 57.32, 306.62°)
OKLaboklab(32.82% 0.0438 -0.1321)
OKLCHoklch(32.82% 0.139 288.4)
XYZxyz(5.2804, 3.0720, 17.4508)
Luminance0.0307 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#361F76 #5F761F
analogous
#1F3476 #361F76 #621F76
triadic
#361F76 #76361F #1F7636
tetradic
#361F76 #761F34 #5F761F #1F7662
square
#361F76 #761F34 #5F761F #1F7662
split-complementary
#361F76 #76621F #34761F
monochromatic
#0B0618 #201246 #361F76 #4C2CA6 #6742CD

Accessibility & contrast

On white

13.01
#361F76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #361F76
13.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##361F76#FFFFFF#000000##FFFFFF
##361F761.0013.011.6113.01
#FFFFFF13.011.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003379
Deuteranopia (green-blind)
#002F74
Tritanopia (blue-blind)
#1E3648
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #361f76;
/* rgb */ color: rgb(54, 31, 118);
/* oklch */ color: oklch(32.8% 0.139 288.4);
Tailwind
colors: {
  custom: {
    50: '#745d9e',
    500: '#361f76',
    950: '#000000',
  },
}
SCSS
$custom: #361f76;
$custom-light: #745d9e;
$custom-dark: #000000;
JSON
{
  "hex": "#361f76",
  "rgb": {
    "r": 54,
    "g": 31,
    "b": 118
  },
  "hsl": {
    "h": 255.862,
    "s": 58.389,
    "l": 29.216
  },
  "oklch": {
    "l": 0.32821,
    "c": 0.13922,
    "h": 288.4
  },
  "luminance": 0.03072
}

Semantic roles & 50–950 ramp

primary
#361F76
secondary
#90AA47
accent
#E246B9
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09040E
muted
#7B797E

Preview Lab

Preview with #361F76

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

Preview Lab → · Contrast checker → · Palette generator →

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