#361A4F#361A4F

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

Color values

HEX#361A4F
RGBrgb(54, 26, 79)
HSLhsl(272, 50%, 21%)
HSVhsv(272, 67%, 31%)
CMYKcmyk(31.6%, 67.1%, 0%, 69%)
CIE-LABlab(15.94, 25.47, -27.37)
CIE-LCHlch(15.94, 37.38, 312.94°)
OKLaboklab(28.63% 0.0553 -0.0774)
OKLCHoklch(28.63% 0.095 305.5)
XYZxyz(3.3017, 2.0876, 7.6246)
Luminance0.0209 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#361A4F #334F1A
analogous
#1B1A4F #361A4F #4F1A4D
triadic
#361A4F #4F361A #1A4F36
tetradic
#361A4F #4F1B1A #334F1A #1A4D4F
square
#361A4F #4F1B1A #334F1A #1A4D4F
split-complementary
#361A4F #4D4F1A #1A4F1B
monochromatic
#100817 #170B21 #361A4F #55297D #7538AB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##361A4F#FFFFFF#000000##FFFFFF
##361A4F1.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)
#022751
Deuteranopia (green-blind)
#0F284E
Tritanopia (blue-blind)
#322531
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #361a4f;
/* rgb */ color: rgb(54, 26, 79);
/* oklch */ color: oklch(28.6% 0.095 305.5);
Tailwind
colors: {
  custom: {
    50: '#6f5881',
    500: '#361a4f',
    950: '#000000',
  },
}
SCSS
$custom: #361a4f;
$custom-light: #6f5881;
$custom-dark: #000000;
JSON
{
  "hex": "#361a4f",
  "rgb": {
    "r": 54,
    "g": 26,
    "b": 79
  },
  "hsl": {
    "h": 271.698,
    "s": 50.476,
    "l": 20.588
  },
  "oklch": {
    "l": 0.28629,
    "c": 0.09508,
    "h": 305.5
  },
  "luminance": 0.02088
}

Semantic roles & 50–950 ramp

primary
#361A4F
secondary
#608540
accent
#DA4E90
background
#F6F5F7
surface
#ECE9EE
border
#C7C5C9
text
#07030A
muted
#7A787C

Preview Lab

Preview with #361A4F

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

Preview Lab → · Contrast checker → · Palette generator →

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