#361D4E#361D4E

#361D4E is a dark, moderate violet. Relative luminance 0.022; OKLCH L 29.1% C 0.088 H 305.1°. Best body text is #FFFFFF at 14.56:1 contrast (WCAG AA passes).

Color values

HEX#361D4E
RGBrgb(54, 29, 78)
HSLhsl(271, 46%, 21%)
HSVhsv(271, 63%, 31%)
CMYKcmyk(30.8%, 62.8%, 0%, 69.4%)
CIE-LABlab(16.57, 23.32, -25.68)
CIE-LCHlch(16.57, 34.69, 312.24°)
OKLaboklab(29.06% 0.0509 -0.0724)
OKLCHoklch(29.06% 0.089 305.1)
XYZxyz(3.3355, 2.2131, 7.4577)
Luminance0.0221 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#361D4E #354E1D
analogous
#1D1D4E #361D4E #4E1D4D
triadic
#361D4E #4E361D #1D4E36
tetradic
#361D4E #4E1D1D #354E1D #1D4D4E
square
#361D4E #4E1D1D #354E1D #1D4D4E
split-complementary
#361D4E #4D4E1D #1D4E1D
monochromatic
#0F0816 #170C21 #361D4E #552E7B #743EA7

Accessibility & contrast

On white

14.56
#361D4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#361D4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #361D4E
14.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##361D4E#FFFFFF#000000##FFFFFF
##361D4E1.0014.561.4414.56
#FFFFFF14.561.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A2850
Deuteranopia (green-blind)
#14294D
Tritanopia (blue-blind)
#322632
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #361d4e;
/* rgb */ color: rgb(54, 29, 78);
/* oklch */ color: oklch(29.1% 0.088 305.1);
Tailwind
colors: {
  custom: {
    50: '#6f5a80',
    500: '#361d4e',
    950: '#000000',
  },
}
SCSS
$custom: #361d4e;
$custom-light: #6f5a80;
$custom-dark: #000000;
JSON
{
  "hex": "#361d4e",
  "rgb": {
    "r": 54,
    "g": 29,
    "b": 78
  },
  "hsl": {
    "h": 270.612,
    "s": 45.794,
    "l": 20.98
  },
  "oklch": {
    "l": 0.29064,
    "c": 0.0885,
    "h": 305.1
  },
  "luminance": 0.02213
}

Semantic roles & 50–950 ramp

primary
#361D4E
secondary
#638344
accent
#D55293
background
#F6F5F7
surface
#ECE9EE
border
#C7C5C9
text
#07040A
muted
#7A797C

Preview Lab

Preview with #361D4E

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

Preview Lab → · Contrast checker → · Palette generator →

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