#361B56#361B56

#361B56 is a dark, moderate violet. Relative luminance 0.022; OKLCH L 29.3% C 0.103 H 301.4°. Best body text is #FFFFFF at 14.50:1 contrast (WCAG AA passes).

Color values

HEX#361B56
RGBrgb(54, 27, 86)
HSLhsl(267, 52%, 22%)
HSVhsv(267, 69%, 34%)
CMYKcmyk(37.2%, 68.6%, 0%, 66.3%)
CIE-LABlab(16.70, 26.85, -30.89)
CIE-LCHlch(16.70, 40.93, 311.00°)
OKLaboklab(29.35% 0.0535 -0.0877)
OKLCHoklch(29.35% 0.103 301.4)
XYZxyz(3.5926, 2.2400, 9.0454)
Luminance0.0224 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#361B56 #3B561B
analogous
#1B1E56 #361B56 #541B56
triadic
#361B56 #56361B #1B5636
tetradic
#361B56 #561B1E #3B561B #1B5654
square
#361B56 #561B1E #3B561B #1B5654
split-complementary
#361B56 #56541B #1E561B
monochromatic
#0F0717 #190C27 #361B56 #532A85 #7038B3

Accessibility & contrast

On white

14.50
#361B56 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #361B56
14.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##361B56#FFFFFF#000000##FFFFFF
##361B561.0014.501.4514.50
#FFFFFF14.501.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002958
Deuteranopia (green-blind)
#062955
Tritanopia (blue-blind)
#2F2835
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #361b56;
/* rgb */ color: rgb(54, 27, 86);
/* oklch */ color: oklch(29.3% 0.103 301.4);
Tailwind
colors: {
  custom: {
    50: '#705986',
    500: '#361b56',
    950: '#000000',
  },
}
SCSS
$custom: #361b56;
$custom-light: #705986;
$custom-dark: #000000;
JSON
{
  "hex": "#361b56",
  "rgb": {
    "r": 54,
    "g": 27,
    "b": 86
  },
  "hsl": {
    "h": 267.458,
    "s": 52.212,
    "l": 22.157
  },
  "oklch": {
    "l": 0.2935,
    "c": 0.10274,
    "h": 301.4
  },
  "luminance": 0.0224
}

Semantic roles & 50–950 ramp

primary
#361B56
secondary
#6A8C41
accent
#DC4C9A
background
#F6F5F8
surface
#ECE9EF
border
#C7C5CA
text
#08030B
muted
#7B787C

Preview Lab

Preview with #361B56

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

Preview Lab → · Contrast checker → · Palette generator →

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