#361F72#361F72

#361F72 is a dark, vivid violet. Relative luminance 0.030; OKLCH L 32.4% C 0.134 H 289.5°. Best body text is #FFFFFF at 13.16:1 contrast (WCAG AA passes).

Color values

HEX#361F72
RGBrgb(54, 31, 114)
HSLhsl(257, 57%, 28%)
HSVhsv(257, 73%, 45%)
CMYKcmyk(52.6%, 72.8%, 0%, 55.3%)
CIE-LABlab(19.96, 32.94, -44.03)
CIE-LCHlch(19.96, 54.99, 306.80°)
OKLaboklab(32.44% 0.0447 -0.1264)
OKLCHoklch(32.44% 0.134 289.5)
XYZxyz(5.0477, 2.9789, 16.2253)
Luminance0.0298 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#361F72 #5B721F
analogous
#1F3172 #361F72 #5F1F72
triadic
#361F72 #72361F #1F7236
tetradic
#361F72 #721F31 #5B721F #1F725F
square
#361F72 #721F31 #5B721F #1F725F
split-complementary
#361F72 #725F1F #31721F
monochromatic
#0B0718 #1F1242 #361F72 #4D2CA2 #6740CB

Accessibility & contrast

On white

13.16
#361F72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #361F72
13.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##361F72#FFFFFF#000000##FFFFFF
##361F721.0013.161.6013.16
#FFFFFF13.161.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003274
Deuteranopia (green-blind)
#002E70
Tritanopia (blue-blind)
#213446
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #361f72;
/* rgb */ color: rgb(54, 31, 114);
/* oklch */ color: oklch(32.4% 0.134 289.5);
Tailwind
colors: {
  custom: {
    50: '#745d9b',
    500: '#361f72',
    950: '#000000',
  },
}
SCSS
$custom: #361f72;
$custom-light: #745d9b;
$custom-dark: #000000;
JSON
{
  "hex": "#361f72",
  "rgb": {
    "r": 54,
    "g": 31,
    "b": 114
  },
  "hsl": {
    "h": 256.627,
    "s": 57.241,
    "l": 28.431
  },
  "oklch": {
    "l": 0.32442,
    "c": 0.13403,
    "h": 289.5
  },
  "luminance": 0.02979
}

Semantic roles & 50–950 ramp

primary
#361F72
secondary
#8CA647
accent
#E047B6
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09040E
muted
#7B797E

Preview Lab

Preview with #361F72

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

Preview Lab → · Contrast checker → · Palette generator →

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