#361F85#361F85

#361F85 is a dark, vivid violet. Relative luminance 0.035; OKLCH L 34.3% C 0.158 H 284.7°. Best body text is #FFFFFF at 12.41:1 contrast (WCAG AA passes).

Color values

HEX#361F85
RGBrgb(54, 31, 133)
HSLhsl(254, 62%, 32%)
HSVhsv(254, 77%, 52%)
CMYKcmyk(59.4%, 76.7%, 0%, 47.8%)
CIE-LABlab(21.79, 38.86, -53.13)
CIE-LCHlch(21.79, 65.82, 306.18°)
OKLaboklab(34.3% 0.0402 -0.153)
OKLCHoklch(34.3% 0.158 284.7)
XYZxyz(6.2437, 3.4573, 22.5241)
Luminance0.0346 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#361F85 #6E851F
analogous
#1F3B85 #361F85 #691F85
triadic
#361F85 #85361F #1F8536
tetradic
#361F85 #851F3B #6E851F #1F8569
square
#361F85 #851F3B #6E851F #1F8569
split-complementary
#361F85 #85691F #3B851F
monochromatic
#0E0822 #221353 #361F85 #4A2BB7 #694AD5

Accessibility & contrast

On white

12.41
#361F85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#361F85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #361F85
12.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##361F85#FFFFFF#000000##FFFFFF
##361F851.0012.411.6912.41
#FFFFFF12.411.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003788
Deuteranopia (green-blind)
#003183
Tritanopia (blue-blind)
#0B3C50
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #361f85;
/* rgb */ color: rgb(54, 31, 133);
/* oklch */ color: oklch(34.3% 0.158 284.7);
Tailwind
colors: {
  custom: {
    50: '#775daa',
    500: '#361f85',
    950: '#000000',
  },
}
SCSS
$custom: #361f85;
$custom-light: #775daa;
$custom-dark: #000000;
JSON
{
  "hex": "#361f85",
  "rgb": {
    "r": 54,
    "g": 31,
    "b": 133
  },
  "hsl": {
    "h": 253.529,
    "s": 62.195,
    "l": 32.157
  },
  "oklch": {
    "l": 0.343,
    "c": 0.15823,
    "h": 284.7
  },
  "luminance": 0.03458
}

Semantic roles & 50–950 ramp

primary
#361F85
secondary
#9EB749
accent
#E543C1
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A0410
muted
#7C797F

Preview Lab

Preview with #361F85

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

Preview Lab → · Contrast checker → · Palette generator →

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