#361B5A#361B5A

#361B5A is a dark, moderate violet. Relative luminance 0.023; OKLCH L 29.7% C 0.108 H 299.4°. Best body text is #FFFFFF at 14.37:1 contrast (WCAG AA passes).

Color values

HEX#361B5A
RGBrgb(54, 27, 90)
HSLhsl(266, 54%, 23%)
HSVhsv(266, 70%, 35%)
CMYKcmyk(40%, 70%, 0%, 64.7%)
CIE-LABlab(17.02, 28.02, -33.06)
CIE-LCHlch(17.02, 43.34, 310.28°)
OKLaboklab(29.68% 0.0531 -0.0941)
OKLCHoklch(29.68% 0.108 299.4)
XYZxyz(3.7583, 2.3063, 9.9180)
Luminance0.0231 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#361B5A #3F5A1B
analogous
#1B205A #361B5A #551B5A
triadic
#361B5A #5A361B #1B5A36
tetradic
#361B5A #5A1B20 #3F5A1B #1B5A55
square
#361B5A #5A1B20 #3F5A1B #1B5A55
split-complementary
#361B5A #5A551B #205A1B
monochromatic
#0E0718 #1A0D2B #361B5A #522989 #6E37B8

Accessibility & contrast

On white

14.37
#361B5A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#361B5A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #361B5A
14.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##361B5A#FFFFFF#000000##FFFFFF
##361B5A1.0014.371.4614.37
#FFFFFF14.371.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.371.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #361b5a;
/* rgb */ color: rgb(54, 27, 90);
/* oklch */ color: oklch(29.7% 0.108 299.4);
Tailwind
colors: {
  custom: {
    50: '#705989',
    500: '#361b5a',
    950: '#000000',
  },
}
SCSS
$custom: #361b5a;
$custom-light: #705989;
$custom-dark: #000000;
JSON
{
  "hex": "#361b5a",
  "rgb": {
    "r": 54,
    "g": 27,
    "b": 90
  },
  "hsl": {
    "h": 265.714,
    "s": 53.846,
    "l": 22.941
  },
  "oklch": {
    "l": 0.29682,
    "c": 0.10804,
    "h": 299.4
  },
  "luminance": 0.02306
}

Semantic roles & 50–950 ramp

primary
#361B5A
secondary
#6E9041
accent
#DD4B9E
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#08030B
muted
#7B787C

Preview Lab

Preview with #361B5A

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

Preview Lab → · Contrast checker → · Palette generator →

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