#361D74#361D74

#361D74 is a dark, vivid violet. Relative luminance 0.029; OKLCH L 32.3% C 0.139 H 289.4°. Best body text is #FFFFFF at 13.25:1 contrast (WCAG AA passes).

Color values

HEX#361D74
RGBrgb(54, 29, 116)
HSLhsl(257, 60%, 28%)
HSVhsv(257, 75%, 45%)
CMYKcmyk(53.4%, 75%, 0%, 54.5%)
CIE-LABlab(19.74, 34.70, -45.69)
CIE-LCHlch(19.74, 57.37, 307.22°)
OKLaboklab(32.34% 0.0462 -0.1312)
OKLCHoklch(32.34% 0.139 289.4)
XYZxyz(5.1122, 2.9237, 16.8146)
Luminance0.0292 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#361D74 #5B741D
analogous
#1D2F74 #361D74 #611D74
triadic
#361D74 #74361D #1D7436
tetradic
#361D74 #741D2F #5B741D #1D7461
square
#361D74 #741D2F #5B741D #1D7461
split-complementary
#361D74 #74611D #2F741D
monochromatic
#0B0618 #1F1143 #361D74 #4D29A5 #673DCE

Accessibility & contrast

On white

13.25
#361D74 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#361D74 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #361D74
13.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##361D74#FFFFFF#000000##FFFFFF
##361D741.0013.251.5813.25
#FFFFFF13.251.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003177
Deuteranopia (green-blind)
#002E72
Tritanopia (blue-blind)
#203446
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #361d74;
/* rgb */ color: rgb(54, 29, 116);
/* oklch */ color: oklch(32.3% 0.139 289.4);
Tailwind
colors: {
  custom: {
    50: '#745b9d',
    500: '#361d74',
    950: '#000000',
  },
}
SCSS
$custom: #361d74;
$custom-light: #745b9d;
$custom-dark: #000000;
JSON
{
  "hex": "#361d74",
  "rgb": {
    "r": 54,
    "g": 29,
    "b": 116
  },
  "hsl": {
    "h": 257.241,
    "s": 60,
    "l": 28.431
  },
  "oklch": {
    "l": 0.32341,
    "c": 0.13911,
    "h": 289.4
  },
  "luminance": 0.02924
}

Semantic roles & 50–950 ramp

primary
#361D74
secondary
#8CA845
accent
#E345B6
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09040E
muted
#7B797E

Preview Lab

Preview with #361D74

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

Preview Lab → · Contrast checker → · Palette generator →

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