#361FA4#361FA4

#361FA4 is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.6% C 0.196 H 279.2°. Best body text is #FFFFFF at 11.12:1 contrast (WCAG AA passes).

Color values

HEX#361FA4
RGBrgb(54, 31, 164)
HSLhsl(250, 68%, 38%)
HSVhsv(250, 81%, 64%)
CMYKcmyk(67.1%, 81.1%, 0%, 35.7%)
CIE-LABlab(25.09, 48.32, -66.83)
CIE-LCHlch(25.09, 82.47, 305.87°)
OKLaboklab(37.59% 0.0314 -0.193)
OKLCHoklch(37.59% 0.196 279.2)
XYZxyz(8.7100, 4.4439, 35.5135)
Luminance0.0445 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#361FA4 #8DA41F
analogous
#1F4AA4 #361FA4 #781FA4
triadic
#361FA4 #A4361F #1FA436
tetradic
#361FA4 #A41F4A #8DA41F #1FA478
square
#361FA4 #A41F4A #8DA41F #1FA478
split-complementary
#361FA4 #A4781F #4AA41F
monochromatic
#140C3D #251571 #361FA4 #472AD7 #745DE0

Accessibility & contrast

On white

11.12
#361FA4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#361FA4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #361FA4
11.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##361FA4#FFFFFF#000000##FFFFFF
##361FA41.0011.121.8911.12
#FFFFFF11.121.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0040A8
Deuteranopia (green-blind)
#0036A2
Tritanopia (blue-blind)
#004862
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #361fa4;
/* rgb */ color: rgb(54, 31, 164);
/* oklch */ color: oklch(37.6% 0.196 279.2);
Tailwind
colors: {
  custom: {
    50: '#7d5fc0',
    500: '#361fa4',
    950: '#000000',
  },
}
SCSS
$custom: #361fa4;
$custom-light: #7d5fc0;
$custom-dark: #000000;
JSON
{
  "hex": "#361fa4",
  "rgb": {
    "r": 54,
    "g": 31,
    "b": 164
  },
  "hsl": {
    "h": 250.376,
    "s": 68.205,
    "l": 38.235
  },
  "oklch": {
    "l": 0.37587,
    "c": 0.19551,
    "h": 279.2
  },
  "luminance": 0.04445
}

Semantic roles & 50–950 ramp

primary
#361FA4
secondary
#B2C55A
accent
#EB3DCD
background
#F8F5FC
surface
#EFEAF8
border
#CAC6D1
text
#0B0512
muted
#7C7981

Preview Lab

Preview with #361FA4

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

Preview Lab → · Contrast checker → · Palette generator →

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