#361E4E#361E4E

#361E4E is a dark, moderate violet. Relative luminance 0.023; OKLCH L 29.2% C 0.087 H 304.7°. Best body text is #FFFFFF at 14.46:1 contrast (WCAG AA passes).

Color values

HEX#361E4E
RGBrgb(54, 30, 78)
HSLhsl(270, 44%, 21%)
HSVhsv(270, 62%, 31%)
CMYKcmyk(30.8%, 61.5%, 0%, 69.4%)
CIE-LABlab(16.81, 22.68, -25.29)
CIE-LCHlch(16.81, 33.97, 311.89°)
OKLaboklab(29.24% 0.0493 -0.0713)
OKLCHoklch(29.24% 0.087 304.7)
XYZxyz(3.3604, 2.2629, 7.4660)
Luminance0.0226 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#361E4E #364E1E
analogous
#1E1E4E #361E4E #4E1E4E
triadic
#361E4E #4E361E #1E4E36
tetradic
#361E4E #4E1E1E #364E1E #1E4E4E
square
#361E4E #4E1E1E #364E1E #1E4E4E
split-complementary
#361E4E #4E4E1E #1E4E1E
monochromatic
#0F0916 #170D22 #361E4E #552F7A #7340A6

Accessibility & contrast

On white

14.46
#361E4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #361E4E
14.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##361E4E#FFFFFF#000000##FFFFFF
##361E4E1.0014.461.4514.46
#FFFFFF14.461.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C2950
Deuteranopia (green-blind)
#152A4D
Tritanopia (blue-blind)
#322732
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #361e4e;
/* rgb */ color: rgb(54, 30, 78);
/* oklch */ color: oklch(29.2% 0.087 304.7);
Tailwind
colors: {
  custom: {
    50: '#6f5b80',
    500: '#361e4e',
    950: '#000000',
  },
}
SCSS
$custom: #361e4e;
$custom-light: #6f5b80;
$custom-dark: #000000;
JSON
{
  "hex": "#361e4e",
  "rgb": {
    "r": 54,
    "g": 30,
    "b": 78
  },
  "hsl": {
    "h": 270,
    "s": 44.444,
    "l": 21.176
  },
  "oklch": {
    "l": 0.29242,
    "c": 0.08671,
    "h": 304.7
  },
  "luminance": 0.02263
}

Semantic roles & 50–950 ramp

primary
#361E4E
secondary
#648345
accent
#D45494
background
#F6F5F7
surface
#ECE9EE
border
#C7C5C9
text
#07040A
muted
#7A797C

Preview Lab

Preview with #361E4E

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

Preview Lab → · Contrast checker → · Palette generator →

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