#361D52#361D52

#361D52 is a dark, moderate violet. Relative luminance 0.023; OKLCH L 29.4% C 0.094 H 302.8°. Best body text is #FFFFFF at 14.44:1 contrast (WCAG AA passes).

Color values

HEX#361D52
RGBrgb(54, 29, 82)
HSLhsl(268, 48%, 22%)
HSVhsv(268, 65%, 32%)
CMYKcmyk(34.1%, 64.6%, 0%, 67.8%)
CIE-LABlab(16.86, 24.46, -27.94)
CIE-LCHlch(16.86, 37.13, 311.21°)
OKLaboklab(29.37% 0.0509 -0.0791)
OKLCHoklch(29.37% 0.094 302.8)
XYZxyz(3.4833, 2.2722, 8.2361)
Luminance0.0227 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#361D52 #39521D
analogous
#1D1F52 #361D52 #511D52
triadic
#361D52 #52361D #1D5236
tetradic
#361D52 #521D1F #39521D #1D5251
square
#361D52 #521D1F #39521D #1D5251
split-complementary
#361D52 #52511D #1F521D
monochromatic
#0F0817 #180D25 #361D52 #542D7F #723DAC

Accessibility & contrast

On white

14.44
#361D52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#361D52 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #361D52
14.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##361D52#FFFFFF#000000##FFFFFF
##361D521.0014.441.4514.44
#FFFFFF14.441.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#042954
Deuteranopia (green-blind)
#0F2951
Tritanopia (blue-blind)
#312834
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #361d52;
/* rgb */ color: rgb(54, 29, 82);
/* oklch */ color: oklch(29.4% 0.094 302.8);
Tailwind
colors: {
  custom: {
    50: '#6f5a83',
    500: '#361d52',
    950: '#000000',
  },
}
SCSS
$custom: #361d52;
$custom-light: #6f5a83;
$custom-dark: #000000;
JSON
{
  "hex": "#361d52",
  "rgb": {
    "r": 54,
    "g": 29,
    "b": 82
  },
  "hsl": {
    "h": 268.302,
    "s": 47.748,
    "l": 21.765
  },
  "oklch": {
    "l": 0.29367,
    "c": 0.09402,
    "h": 302.8
  },
  "luminance": 0.02272
}

Semantic roles & 50–950 ramp

primary
#361D52
secondary
#678744
accent
#D75098
background
#F6F5F8
surface
#ECE9EF
border
#C7C5CA
text
#07040A
muted
#7A797C

Preview Lab

Preview with #361D52

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

Preview Lab → · Contrast checker → · Palette generator →

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