#361C4E#361C4E

#361C4E is a dark, moderate violet. Relative luminance 0.022; OKLCH L 28.9% C 0.090 H 305.4°. Best body text is #FFFFFF at 14.65:1 contrast (WCAG AA passes).

Color values

HEX#361C4E
RGBrgb(54, 28, 78)
HSLhsl(271, 47%, 21%)
HSVhsv(271, 64%, 31%)
CMYKcmyk(30.8%, 64.1%, 0%, 69.4%)
CIE-LABlab(16.33, 23.95, -26.06)
CIE-LCHlch(16.33, 35.39, 312.58°)
OKLaboklab(28.89% 0.0524 -0.0735)
OKLCHoklch(28.89% 0.09 305.4)
XYZxyz(3.3114, 2.1649, 7.4497)
Luminance0.0216 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#361C4E #344E1C
analogous
#1D1C4E #361C4E #4E1C4D
triadic
#361C4E #4E361C #1C4E36
tetradic
#361C4E #4E1D1C #344E1C #1C4D4E
square
#361C4E #4E1D1C #344E1C #1C4D4E
split-complementary
#361C4E #4D4E1C #1C4E1D
monochromatic
#100817 #170C21 #361C4E #552C7B #743CA8

Accessibility & contrast

On white

14.65
#361C4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#361C4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #361C4E
14.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##361C4E#FFFFFF#000000##FFFFFF
##361C4E1.0014.651.4314.65
#FFFFFF14.651.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#072850
Deuteranopia (green-blind)
#12294D
Tritanopia (blue-blind)
#322632
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #361c4e;
/* rgb */ color: rgb(54, 28, 78);
/* oklch */ color: oklch(28.9% 0.090 305.4);
Tailwind
colors: {
  custom: {
    50: '#6f5980',
    500: '#361c4e',
    950: '#000000',
  },
}
SCSS
$custom: #361c4e;
$custom-light: #6f5980;
$custom-dark: #000000;
JSON
{
  "hex": "#361c4e",
  "rgb": {
    "r": 54,
    "g": 28,
    "b": 78
  },
  "hsl": {
    "h": 271.2,
    "s": 47.17,
    "l": 20.784
  },
  "oklch": {
    "l": 0.28889,
    "c": 0.09028,
    "h": 305.4
  },
  "luminance": 0.02165
}

Semantic roles & 50–950 ramp

primary
#361C4E
secondary
#628442
accent
#D75191
background
#F6F5F7
surface
#ECE9EE
border
#C7C5C9
text
#07030A
muted
#7A787C

Preview Lab

Preview with #361C4E

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

Preview Lab → · Contrast checker → · Palette generator →

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