#361B5F#361B5F

#361B5F is a dark, moderate violet. Relative luminance 0.024; OKLCH L 30.1% C 0.115 H 297.2°. Best body text is #FFFFFF at 14.20:1 contrast (WCAG AA passes).

Color values

HEX#361B5F
RGBrgb(54, 27, 95)
HSLhsl(264, 56%, 24%)
HSVhsv(264, 72%, 37%)
CMYKcmyk(43.2%, 71.6%, 0%, 62.7%)
CIE-LABlab(17.43, 29.49, -35.72)
CIE-LCHlch(17.43, 46.32, 309.54°)
OKLaboklab(30.11% 0.0524 -0.1019)
OKLCHoklch(30.11% 0.115 297.2)
XYZxyz(3.9783, 2.3943, 11.0768)
Luminance0.0239 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#361B5F #445F1B
analogous
#1B225F #361B5F #581B5F
triadic
#361B5F #5F361B #1B5F36
tetradic
#361B5F #5F1B22 #445F1B #1B5F58
square
#361B5F #5F1B22 #445F1B #1B5F58
split-complementary
#361B5F #5F581B #225F1B
monochromatic
#0E0718 #1B0D2F #361B5F #51298F #6C36BE

Accessibility & contrast

On white

14.20
#361B5F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#361B5F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #361B5F
14.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##361B5F#FFFFFF#000000##FFFFFF
##361B5F1.0014.201.4814.20
#FFFFFF14.201.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B61
Deuteranopia (green-blind)
#002A5E
Tritanopia (blue-blind)
#2C2B3A
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #361b5f;
/* rgb */ color: rgb(54, 27, 95);
/* oklch */ color: oklch(30.1% 0.115 297.2);
Tailwind
colors: {
  custom: {
    50: '#71598d',
    500: '#361b5f',
    950: '#000000',
  },
}
SCSS
$custom: #361b5f;
$custom-light: #71598d;
$custom-dark: #000000;
JSON
{
  "hex": "#361b5f",
  "rgb": {
    "r": 54,
    "g": 27,
    "b": 95
  },
  "hsl": {
    "h": 263.824,
    "s": 55.738,
    "l": 23.922
  },
  "oklch": {
    "l": 0.30111,
    "c": 0.11462,
    "h": 297.2
  },
  "luminance": 0.02394
}

Semantic roles & 50–950 ramp

primary
#361B5F
secondary
#739541
accent
#DF49A3
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#08040C
muted
#7B797D

Preview Lab

Preview with #361B5F

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

Preview Lab → · Contrast checker → · Palette generator →

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