#361FA1#361FA1

#361FA1 is a dark, vivid violet. Relative luminance 0.043; OKLCH L 37.3% C 0.192 H 279.7°. Best body text is #FFFFFF at 11.25:1 contrast (WCAG AA passes).

Color values

HEX#361FA1
RGBrgb(54, 31, 161)
HSLhsl(251, 68%, 38%)
HSVhsv(251, 81%, 63%)
CMYKcmyk(66.5%, 80.7%, 0%, 36.9%)
CIE-LABlab(24.75, 47.42, -65.56)
CIE-LCHlch(24.75, 80.91, 305.88°)
OKLaboklab(37.26% 0.0323 -0.1893)
OKLCHoklch(37.26% 0.192 279.7)
XYZxyz(8.4423, 4.3368, 34.1035)
Luminance0.0434 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#361FA1 #8AA11F
analogous
#1F49A1 #361FA1 #771FA1
triadic
#361FA1 #A1361F #1FA136
tetradic
#361FA1 #A11F49 #8AA11F #1FA177
square
#361FA1 #A11F49 #8AA11F #1FA177
split-complementary
#361FA1 #A1771F #49A11F
monochromatic
#140B3A #25156E #361FA1 #4729D4 #725BDF

Accessibility & contrast

On white

11.25
#361FA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#361FA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #361FA1
11.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##361FA1#FFFFFF#000000##FFFFFF
##361FA11.0011.251.8711.25
#FFFFFF11.251.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003FA5
Deuteranopia (green-blind)
#00369F
Tritanopia (blue-blind)
#004760
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #361fa1;
/* rgb */ color: rgb(54, 31, 161);
/* oklch */ color: oklch(37.3% 0.192 279.7);
Tailwind
colors: {
  custom: {
    50: '#7d5fbe',
    500: '#361fa1',
    950: '#000000',
  },
}
SCSS
$custom: #361fa1;
$custom-light: #7d5fbe;
$custom-dark: #000000;
JSON
{
  "hex": "#361fa1",
  "rgb": {
    "r": 54,
    "g": 31,
    "b": 161
  },
  "hsl": {
    "h": 250.615,
    "s": 67.708,
    "l": 37.647
  },
  "oklch": {
    "l": 0.37258,
    "c": 0.19201,
    "h": 279.7
  },
  "luminance": 0.04337
}

Semantic roles & 50–950 ramp

primary
#361FA1
secondary
#B1C458
accent
#EB3DCC
background
#F8F5FB
surface
#EFE9F7
border
#CAC5D0
text
#0B0512
muted
#7C7981

Preview Lab

Preview with #361FA1

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

Preview Lab → · Contrast checker → · Palette generator →

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