#361B5D#361B5D

#361B5D is a dark, moderate violet. Relative luminance 0.024; OKLCH L 29.9% C 0.112 H 298.1°. Best body text is #FFFFFF at 14.27:1 contrast (WCAG AA passes).

Color values

HEX#361B5D
RGBrgb(54, 27, 93)
HSLhsl(265, 55%, 24%)
HSVhsv(265, 71%, 36%)
CMYKcmyk(41.9%, 71%, 0%, 63.5%)
CIE-LABlab(17.27, 28.90, -34.66)
CIE-LCHlch(17.27, 45.13, 309.82°)
OKLaboklab(29.94% 0.0527 -0.0988)
OKLCHoklch(29.94% 0.112 298.1)
XYZxyz(3.8885, 2.3584, 10.6041)
Luminance0.0236 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#361B5D #425D1B
analogous
#1B215D #361B5D #571B5D
triadic
#361B5D #5D361B #1B5D36
tetradic
#361B5D #5D1B21 #425D1B #1B5D57
square
#361B5D #5D1B21 #425D1B #1B5D57
split-complementary
#361B5D #5D571B #215D1B
monochromatic
#0E0718 #1A0D2E #361B5D #52298C #6D37BC

Accessibility & contrast

On white

14.27
#361B5D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #361B5D
14.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##361B5D#FFFFFF#000000##FFFFFF
##361B5D1.0014.271.4714.27
#FFFFFF14.271.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B5F
Deuteranopia (green-blind)
#002A5C
Tritanopia (blue-blind)
#2D2A39
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #361b5d;
/* rgb */ color: rgb(54, 27, 93);
/* oklch */ color: oklch(29.9% 0.112 298.1);
Tailwind
colors: {
  custom: {
    50: '#71598b',
    500: '#361b5d',
    950: '#000000',
  },
}
SCSS
$custom: #361b5d;
$custom-light: #71598b;
$custom-dark: #000000;
JSON
{
  "hex": "#361b5d",
  "rgb": {
    "r": 54,
    "g": 27,
    "b": 93
  },
  "hsl": {
    "h": 264.545,
    "s": 55,
    "l": 23.529
  },
  "oklch": {
    "l": 0.29938,
    "c": 0.112,
    "h": 298.1
  },
  "luminance": 0.02358
}

Semantic roles & 50–950 ramp

primary
#361B5D
secondary
#719341
accent
#DE49A1
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#08030C
muted
#7B787D

Preview Lab

Preview with #361B5D

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

Preview Lab → · Contrast checker → · Palette generator →

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