#361B95#361B95

#361B95 is a dark, vivid violet. Relative luminance 0.037; OKLCH L 35.5% C 0.181 H 282.1°. Best body text is #FFFFFF at 12.02:1 contrast (WCAG AA passes).

Color values

HEX#361B95
RGBrgb(54, 27, 149)
HSLhsl(253, 69%, 35%)
HSVhsv(253, 82%, 58%)
CMYKcmyk(63.8%, 81.9%, 0%, 41.6%)
CIE-LABlab(22.78, 45.72, -61.46)
CIE-LCHlch(22.78, 76.60, 306.64°)
OKLaboklab(35.5% 0.0381 -0.1773)
OKLCHoklch(35.5% 0.181 282.1)
XYZxyz(7.3364, 3.7375, 28.7628)
Luminance0.0374 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#361B95 #7A951B
analogous
#1B3D95 #361B95 #731B95
triadic
#361B95 #95361B #1B9536
tetradic
#361B95 #951B3D #7A951B #1B9573
square
#361B95 #951B3D #7A951B #1B9573
split-complementary
#361B95 #95731B #3D951B
monochromatic
#10082D #231261 #361B95 #4924C9 #6C4CDF

Accessibility & contrast

On white

12.02
#361B95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#361B95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #361B95
12.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##361B95#FFFFFF#000000##FFFFFF
##361B951.0012.021.7512.02
#FFFFFF12.021.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A98
Deuteranopia (green-blind)
#003293
Tritanopia (blue-blind)
#004059
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #361b95;
/* rgb */ color: rgb(54, 27, 149);
/* oklch */ color: oklch(35.5% 0.181 282.1);
Tailwind
colors: {
  custom: {
    50: '#7b5cb5',
    500: '#361b95',
    950: '#000000',
  },
}
SCSS
$custom: #361b95;
$custom-light: #7b5cb5;
$custom-dark: #000000;
JSON
{
  "hex": "#361b95",
  "rgb": {
    "r": 54,
    "g": 27,
    "b": 149
  },
  "hsl": {
    "h": 253.279,
    "s": 69.318,
    "l": 34.51
  },
  "oklch": {
    "l": 0.355,
    "c": 0.18135,
    "h": 282.1
  },
  "luminance": 0.03738
}

Semantic roles & 50–950 ramp

primary
#361B95
secondary
#A7C14B
accent
#EC3CC5
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0411
muted
#7C7980

Preview Lab

Preview with #361B95

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

Preview Lab → · Contrast checker → · Palette generator →

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