#361F93#361F93

#361F93 is a dark, vivid violet. Relative luminance 0.039; OKLCH L 35.8% C 0.175 H 282.0°. Best body text is #FFFFFF at 11.84:1 contrast (WCAG AA passes).

Color values

HEX#361F93
RGBrgb(54, 31, 147)
HSLhsl(252, 65%, 35%)
HSVhsv(252, 79%, 58%)
CMYKcmyk(63.3%, 78.9%, 0%, 42.4%)
CIE-LABlab(23.24, 43.17, -59.47)
CIE-LCHlch(23.24, 73.49, 305.98°)
OKLaboklab(35.75% 0.0364 -0.1716)
OKLCHoklch(35.75% 0.175 282)
XYZxyz(7.2761, 3.8703, 27.9617)
Luminance0.0387 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#361F93 #7C931F
analogous
#1F4293 #361F93 #701F93
triadic
#361F93 #93361F #1F9336
tetradic
#361F93 #931F42 #7C931F #1F9370
square
#361F93 #931F42 #7C931F #1F9370
split-complementary
#361F93 #93701F #42931F
monochromatic
#110A2E #231460 #361F93 #492AC6 #6D52DA

Accessibility & contrast

On white

11.84
#361F93 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#361F93 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #361F93
11.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##361F93#FFFFFF#000000##FFFFFF
##361F931.0011.841.7711.84
#FFFFFF11.841.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B96
Deuteranopia (green-blind)
#003391
Tritanopia (blue-blind)
#004158
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #361f93;
/* rgb */ color: rgb(54, 31, 147);
/* oklch */ color: oklch(35.8% 0.175 282.0);
Tailwind
colors: {
  custom: {
    50: '#7a5eb4',
    500: '#361f93',
    950: '#000000',
  },
}
SCSS
$custom: #361f93;
$custom-light: #7a5eb4;
$custom-dark: #000000;
JSON
{
  "hex": "#361f93",
  "rgb": {
    "r": 54,
    "g": 31,
    "b": 147
  },
  "hsl": {
    "h": 251.897,
    "s": 65.169,
    "l": 34.902
  },
  "oklch": {
    "l": 0.35752,
    "c": 0.17537,
    "h": 282
  },
  "luminance": 0.03871
}

Semantic roles & 50–950 ramp

primary
#361F93
secondary
#A8BE50
accent
#E840C7
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0A0511
muted
#7C7980

Preview Lab

Preview with #361F93

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

Preview Lab → · Contrast checker → · Palette generator →

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