#361B4E#361B4E

#361B4E is a dark, moderate violet. Relative luminance 0.021; OKLCH L 28.7% C 0.092 H 305.8°. Best body text is #FFFFFF at 14.75:1 contrast (WCAG AA passes).

Color values

HEX#361B4E
RGBrgb(54, 27, 78)
HSLhsl(272, 49%, 21%)
HSVhsv(272, 65%, 31%)
CMYKcmyk(30.8%, 65.4%, 0%, 69.4%)
CIE-LABlab(16.10, 24.58, -26.43)
CIE-LCHlch(16.10, 36.09, 312.91°)
OKLaboklab(28.72% 0.0538 -0.0746)
OKLCHoklch(28.72% 0.092 305.8)
XYZxyz(3.2881, 2.1182, 7.4419)
Luminance0.0212 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#361B4E #334E1B
analogous
#1D1B4E #361B4E #4E1B4C
triadic
#361B4E #4E361B #1B4E36
tetradic
#361B4E #4E1D1B #334E1B #1B4C4E
square
#361B4E #4E1D1B #334E1B #1B4C4E
split-complementary
#361B4E #4C4E1B #1B4E1D
monochromatic
#100817 #170B21 #361B4E #552B7B #753AA9

Accessibility & contrast

On white

14.75
#361B4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#361B4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #361B4E
14.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##361B4E#FFFFFF#000000##FFFFFF
##361B4E1.0014.751.4214.75
#FFFFFF14.751.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#052750
Deuteranopia (green-blind)
#11284D
Tritanopia (blue-blind)
#322531
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #361b4e;
/* rgb */ color: rgb(54, 27, 78);
/* oklch */ color: oklch(28.7% 0.092 305.8);
Tailwind
colors: {
  custom: {
    50: '#6f5980',
    500: '#361b4e',
    950: '#000000',
  },
}
SCSS
$custom: #361b4e;
$custom-light: #6f5980;
$custom-dark: #000000;
JSON
{
  "hex": "#361b4e",
  "rgb": {
    "r": 54,
    "g": 27,
    "b": 78
  },
  "hsl": {
    "h": 271.765,
    "s": 48.571,
    "l": 20.588
  },
  "oklch": {
    "l": 0.28719,
    "c": 0.09203,
    "h": 305.8
  },
  "luminance": 0.02118
}

Semantic roles & 50–950 ramp

primary
#361B4E
secondary
#608441
accent
#D85090
background
#F6F5F7
surface
#ECE9EE
border
#C7C5C9
text
#07030A
muted
#7A787C

Preview Lab

Preview with #361B4E

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

Preview Lab → · Contrast checker → · Palette generator →

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