#361D95#361D95

#361D95 is a dark, vivid violet. Relative luminance 0.038; OKLCH L 35.7% C 0.180 H 281.9°. Best body text is #FFFFFF at 11.89:1 contrast (WCAG AA passes).

Color values

HEX#361D95
RGBrgb(54, 29, 149)
HSLhsl(253, 67%, 35%)
HSVhsv(253, 81%, 58%)
CMYKcmyk(63.8%, 80.5%, 0%, 41.6%)
CIE-LABlab(23.11, 44.77, -60.92)
CIE-LCHlch(23.11, 75.60, 306.31°)
OKLaboklab(35.73% 0.037 -0.1757)
OKLCHoklch(35.73% 0.18 281.9)
XYZxyz(7.3838, 3.8324, 28.7786)
Luminance0.0383 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#361D95 #7C951D
analogous
#1D4095 #361D95 #721D95
triadic
#361D95 #95361D #1D9536
tetradic
#361D95 #951D40 #7C951D #1D9572
square
#361D95 #951D40 #7C951D #1D9572
split-complementary
#361D95 #95721D #40951D
monochromatic
#11092F #231362 #361D95 #4927C8 #6D50DD

Accessibility & contrast

On white

11.89
#361D95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #361D95
11.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##361D95#FFFFFF#000000##FFFFFF
##361D951.0011.891.7711.89
#FFFFFF11.891.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B98
Deuteranopia (green-blind)
#003393
Tritanopia (blue-blind)
#004159
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #361d95;
/* rgb */ color: rgb(54, 29, 149);
/* oklch */ color: oklch(35.7% 0.180 281.9);
Tailwind
colors: {
  custom: {
    50: '#7a5db5',
    500: '#361d95',
    950: '#000000',
  },
}
SCSS
$custom: #361d95;
$custom-light: #7a5db5;
$custom-dark: #000000;
JSON
{
  "hex": "#361d95",
  "rgb": {
    "r": 54,
    "g": 29,
    "b": 149
  },
  "hsl": {
    "h": 252.5,
    "s": 67.416,
    "l": 34.902
  },
  "oklch": {
    "l": 0.35726,
    "c": 0.1796,
    "h": 281.9
  },
  "luminance": 0.03833
}

Semantic roles & 50–950 ramp

primary
#361D95
secondary
#A8C04E
accent
#EA3DC6
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0A0411
muted
#7C7980

Preview Lab

Preview with #361D95

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

Preview Lab → · Contrast checker → · Palette generator →

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