#361F52#361F52

#361F52 is a dark, moderate violet. Relative luminance 0.024; OKLCH L 29.7% C 0.091 H 302.0°. Best body text is #FFFFFF at 14.24:1 contrast (WCAG AA passes).

Color values

HEX#361F52
RGBrgb(54, 31, 82)
HSLhsl(267, 45%, 22%)
HSVhsv(267, 62%, 32%)
CMYKcmyk(34.1%, 62.2%, 0%, 67.8%)
CIE-LABlab(17.34, 23.19, -27.16)
CIE-LCHlch(17.34, 35.72, 310.49°)
OKLaboklab(29.72% 0.048 -0.0768)
OKLCHoklch(29.72% 0.091 302)
XYZxyz(3.5339, 2.3734, 8.2529)
Luminance0.0237 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#361F52 #3B521F
analogous
#1F2152 #361F52 #501F52
triadic
#361F52 #52361F #1F5236
tetradic
#361F52 #521F21 #3B521F #1F5250
square
#361F52 #521F21 #3B521F #1F5250
split-complementary
#361F52 #52501F #21521F
monochromatic
#0F0816 #190E26 #361F52 #53307E #7041AB

Accessibility & contrast

On white

14.24
#361F52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#361F52 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #361F52
14.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##361F52#FFFFFF#000000##FFFFFF
##361F521.0014.241.4714.24
#FFFFFF14.241.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#092A54
Deuteranopia (green-blind)
#122A51
Tritanopia (blue-blind)
#312935
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #361f52;
/* rgb */ color: rgb(54, 31, 82);
/* oklch */ color: oklch(29.7% 0.091 302.0);
Tailwind
colors: {
  custom: {
    50: '#6f5b83',
    500: '#361f52',
    950: '#000000',
  },
}
SCSS
$custom: #361f52;
$custom-light: #6f5b83;
$custom-dark: #000000;
JSON
{
  "hex": "#361f52",
  "rgb": {
    "r": 54,
    "g": 31,
    "b": 82
  },
  "hsl": {
    "h": 267.059,
    "s": 45.133,
    "l": 22.157
  },
  "oklch": {
    "l": 0.29719,
    "c": 0.09054,
    "h": 302
  },
  "luminance": 0.02373
}

Semantic roles & 50–950 ramp

primary
#361F52
secondary
#6A8746
accent
#D5539A
background
#F6F5F8
surface
#ECE9EF
border
#C7C5CA
text
#07040A
muted
#7A797C

Preview Lab

Preview with #361F52

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

Preview Lab → · Contrast checker → · Palette generator →

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