#361F7B#361F7B

#361F7B is a dark, vivid violet. Relative luminance 0.032; OKLCH L 33.3% C 0.146 H 287.1°. Best body text is #FFFFFF at 12.81:1 contrast (WCAG AA passes).

Color values

HEX#361F7B
RGBrgb(54, 31, 123)
HSLhsl(255, 60%, 30%)
HSVhsv(255, 75%, 48%)
CMYKcmyk(56.1%, 74.8%, 0%, 51.8%)
CIE-LABlab(20.80, 35.75, -48.42)
CIE-LCHlch(20.80, 60.19, 306.44°)
OKLaboklab(33.3% 0.0427 -0.1392)
OKLCHoklch(33.3% 0.146 287.1)
XYZxyz(5.5854, 3.1940, 19.0572)
Luminance0.0319 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#361F7B #647B1F
analogous
#1F367B #361F7B #641F7B
triadic
#361F7B #7B361F #1F7B36
tetradic
#361F7B #7B1F36 #647B1F #1F7B64
square
#361F7B #7B1F36 #647B1F #1F7B64
split-complementary
#361F7B #7B641F #367B1F
monochromatic
#0B0619 #21134A #361F7B #4B2BAC #6744D0

Accessibility & contrast

On white

12.81
#361F7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#361F7B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #361F7B
12.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##361F7B#FFFFFF#000000##FFFFFF
##361F7B1.0012.811.6412.81
#FFFFFF12.811.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00347E
Deuteranopia (green-blind)
#002F79
Tritanopia (blue-blind)
#19384B
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #361f7b;
/* rgb */ color: rgb(54, 31, 123);
/* oklch */ color: oklch(33.3% 0.146 287.1);
Tailwind
colors: {
  custom: {
    50: '#755da2',
    500: '#361f7b',
    950: '#000000',
  },
}
SCSS
$custom: #361f7b;
$custom-light: #755da2;
$custom-dark: #000000;
JSON
{
  "hex": "#361f7b",
  "rgb": {
    "r": 54,
    "g": 31,
    "b": 123
  },
  "hsl": {
    "h": 255,
    "s": 59.74,
    "l": 30.196
  },
  "oklch": {
    "l": 0.33304,
    "c": 0.14564,
    "h": 287.1
  },
  "luminance": 0.03194
}

Semantic roles & 50–950 ramp

primary
#361F7B
secondary
#95AE48
accent
#E345BB
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#09040F
muted
#7B797F

Preview Lab

Preview with #361F7B

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

Preview Lab → · Contrast checker → · Palette generator →

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