#361955#361955

#361955 is a dark, moderate violet. Relative luminance 0.021; OKLCH L 29.0% C 0.105 H 302.5°. Best body text is #FFFFFF at 14.72:1 contrast (WCAG AA passes).

Color values

HEX#361955
RGBrgb(54, 25, 85)
HSLhsl(269, 55%, 22%)
HSVhsv(269, 71%, 33%)
CMYKcmyk(36.5%, 70.6%, 0%, 66.7%)
CIE-LABlab(16.18, 27.76, -31.05)
CIE-LCHlch(16.18, 41.65, 311.80°)
OKLaboklab(28.95% 0.0562 -0.0882)
OKLCHoklch(28.95% 0.105 302.5)
XYZxyz(3.5083, 2.1354, 8.8199)
Luminance0.0214 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#361955 #385519
analogous
#191A55 #361955 #541955
triadic
#361955 #553619 #195536
tetradic
#361955 #55191A #385519 #195554
square
#361955 #55191A #385519 #195554
split-complementary
#361955 #555419 #1A5519
monochromatic
#0F0718 #180B26 #361955 #542784 #7235B4

Accessibility & contrast

On white

14.72
#361955 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#361955 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #361955
14.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##361955#FFFFFF#000000##FFFFFF
##3619551.0014.721.4314.72
#FFFFFF14.721.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002857
Deuteranopia (green-blind)
#042854
Tritanopia (blue-blind)
#302634
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #361955;
/* rgb */ color: rgb(54, 25, 85);
/* oklch */ color: oklch(29.0% 0.105 302.5);
Tailwind
colors: {
  custom: {
    50: '#705885',
    500: '#361955',
    950: '#000000',
  },
}
SCSS
$custom: #361955;
$custom-light: #705885;
$custom-dark: #000000;
JSON
{
  "hex": "#361955",
  "rgb": {
    "r": 54,
    "g": 25,
    "b": 85
  },
  "hsl": {
    "h": 269,
    "s": 54.545,
    "l": 21.569
  },
  "oklch": {
    "l": 0.28951,
    "c": 0.10459,
    "h": 302.5
  },
  "luminance": 0.02135
}

Semantic roles & 50–950 ramp

primary
#361955
secondary
#668B3E
accent
#DE4A96
background
#F6F5F8
surface
#ECE9EF
border
#C7C5CA
text
#08030B
muted
#7B787C

Preview Lab

Preview with #361955

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

Preview Lab → · Contrast checker → · Palette generator →

#361955 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva