#361F71#361F71

#361F71 is a dark, vivid violet. Relative luminance 0.030; OKLCH L 32.3% C 0.133 H 289.8°. Best body text is #FFFFFF at 13.20:1 contrast (WCAG AA passes).

Color values

HEX#361F71
RGBrgb(54, 31, 113)
HSLhsl(257, 57%, 28%)
HSVhsv(257, 73%, 44%)
CMYKcmyk(52.2%, 72.6%, 0%, 55.7%)
CIE-LABlab(19.87, 32.63, -43.54)
CIE-LCHlch(19.87, 54.41, 306.85°)
OKLaboklab(32.35% 0.0449 -0.1249)
OKLCHoklch(32.35% 0.133 289.8)
XYZxyz(4.9911, 2.9563, 15.9272)
Luminance0.0296 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#361F71 #5A711F
analogous
#1F3171 #361F71 #5F1F71
triadic
#361F71 #71361F #1F7136
tetradic
#361F71 #711F31 #5A711F #1F715F
square
#361F71 #711F31 #5A711F #1F715F
split-complementary
#361F71 #715F1F #31711F
monochromatic
#0B0718 #1F1241 #361F71 #4D2CA1 #6740CB

Accessibility & contrast

On white

13.20
#361F71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#361F71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #361F71
13.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##361F71#FFFFFF#000000##FFFFFF
##361F711.0013.201.5913.20
#FFFFFF13.201.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003273
Deuteranopia (green-blind)
#002E6F
Tritanopia (blue-blind)
#223445
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #361f71;
/* rgb */ color: rgb(54, 31, 113);
/* oklch */ color: oklch(32.3% 0.133 289.8);
Tailwind
colors: {
  custom: {
    50: '#735d9b',
    500: '#361f71',
    950: '#000000',
  },
}
SCSS
$custom: #361f71;
$custom-light: #735d9b;
$custom-dark: #000000;
JSON
{
  "hex": "#361f71",
  "rgb": {
    "r": 54,
    "g": 31,
    "b": 113
  },
  "hsl": {
    "h": 256.829,
    "s": 56.944,
    "l": 28.235
  },
  "oklch": {
    "l": 0.32349,
    "c": 0.13273,
    "h": 289.8
  },
  "luminance": 0.02956
}

Semantic roles & 50–950 ramp

primary
#361F71
secondary
#8BA547
accent
#E048B5
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09040E
muted
#7B797E

Preview Lab

Preview with #361F71

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

Preview Lab → · Contrast checker → · Palette generator →

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