#361F98#361F98

#361F98 is a dark, vivid violet. Relative luminance 0.040; OKLCH L 36.3% C 0.181 H 281.1°. Best body text is #FFFFFF at 11.63:1 contrast (WCAG AA passes).

Color values

HEX#361F98
RGBrgb(54, 31, 152)
HSLhsl(251, 66%, 36%)
HSVhsv(251, 80%, 60%)
CMYKcmyk(64.5%, 79.6%, 0%, 40.4%)
CIE-LABlab(23.77, 44.70, -61.67)
CIE-LCHlch(23.77, 76.17, 305.93°)
OKLaboklab(36.28% 0.0349 -0.178)
OKLCHoklch(36.28% 0.181 281.1)
XYZxyz(7.6770, 4.0307, 30.0731)
Luminance0.0403 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#361F98 #81981F
analogous
#1F4498 #361F98 #721F98
triadic
#361F98 #98361F #1F9836
tetradic
#361F98 #981F44 #81981F #1F9872
square
#361F98 #981F44 #81981F #1F9872
split-complementary
#361F98 #98721F #44981F
monochromatic
#120A32 #241565 #361F98 #4829CB #6F55DC

Accessibility & contrast

On white

11.63
#361F98 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#361F98 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #361F98
11.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##361F98#FFFFFF#000000##FFFFFF
##361F981.0011.631.8111.63
#FFFFFF11.631.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D9B
Deuteranopia (green-blind)
#003496
Tritanopia (blue-blind)
#00435B
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #361f98;
/* rgb */ color: rgb(54, 31, 152);
/* oklch */ color: oklch(36.3% 0.181 281.1);
Tailwind
colors: {
  custom: {
    50: '#7b5fb8',
    500: '#361f98',
    950: '#000000',
  },
}
SCSS
$custom: #361f98;
$custom-light: #7b5fb8;
$custom-dark: #000000;
JSON
{
  "hex": "#361f98",
  "rgb": {
    "r": 54,
    "g": 31,
    "b": 152
  },
  "hsl": {
    "h": 251.405,
    "s": 66.12,
    "l": 35.882
  },
  "oklch": {
    "l": 0.36284,
    "c": 0.18137,
    "h": 281.1
  },
  "luminance": 0.04031
}

Semantic roles & 50–950 ramp

primary
#361F98
secondary
#ABC053
accent
#E93FC9
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0511
muted
#7C7980

Preview Lab

Preview with #361F98

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

Preview Lab → · Contrast checker → · Palette generator →

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