#361B4C#361B4C

#361B4C is a dark, moderate violet. Relative luminance 0.021; OKLCH L 28.6% C 0.089 H 307.1°. Best body text is #FFFFFF at 14.81:1 contrast (WCAG AA passes).

Color values

HEX#361B4C
RGBrgb(54, 27, 76)
HSLhsl(273, 48%, 20%)
HSVhsv(273, 64%, 30%)
CMYKcmyk(28.9%, 64.5%, 0%, 70.2%)
CIE-LABlab(15.95, 24.02, -25.30)
CIE-LCHlch(15.95, 34.88, 313.52°)
OKLaboklab(28.57% 0.0538 -0.0713)
OKLCHoklch(28.57% 0.089 307.1)
XYZxyz(3.2175, 2.0900, 7.0700)
Luminance0.0209 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#361B4C #314C1B
analogous
#1D1B4C #361B4C #4C1B49
triadic
#361B4C #4C361B #1B4C36
tetradic
#361B4C #4C1D1B #314C1B #1B494C
square
#361B4C #4C1D1B #314C1B #1B494C
split-complementary
#361B4C #494C1B #1B4C1D
monochromatic
#100817 #160B1F #361B4C #562B79 #763BA6

Accessibility & contrast

On white

14.81
#361B4C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #361B4C
14.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##361B4C#FFFFFF#000000##FFFFFF
##361B4C1.0014.811.4214.81
#FFFFFF14.811.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#08274E
Deuteranopia (green-blind)
#13284B
Tritanopia (blue-blind)
#332430
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #361b4c;
/* rgb */ color: rgb(54, 27, 76);
/* oklch */ color: oklch(28.6% 0.089 307.1);
Tailwind
colors: {
  custom: {
    50: '#6f597e',
    500: '#361b4c',
    950: '#000000',
  },
}
SCSS
$custom: #361b4c;
$custom-light: #6f597e;
$custom-dark: #000000;
JSON
{
  "hex": "#361b4c",
  "rgb": {
    "r": 54,
    "g": 27,
    "b": 76
  },
  "hsl": {
    "h": 273.061,
    "s": 47.573,
    "l": 20.196
  },
  "oklch": {
    "l": 0.28568,
    "c": 0.08935,
    "h": 307.1
  },
  "luminance": 0.0209
}

Semantic roles & 50–950 ramp

primary
#361B4C
secondary
#5E8241
accent
#D7518D
background
#F6F5F7
surface
#ECE9EE
border
#C7C5C9
text
#07030A
muted
#7A787C

Preview Lab

Preview with #361B4C

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

Preview Lab → · Contrast checker → · Palette generator →

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