#361157#361157

#361157 is a dark, moderate violet. Relative luminance 0.019; OKLCH L 28.0% C 0.118 H 303.5°. Best body text is #FFFFFF at 15.28:1 contrast (WCAG AA passes).

Color values

HEX#361157
RGBrgb(54, 17, 87)
HSLhsl(272, 67%, 20%)
HSVhsv(272, 80%, 34%)
CMYKcmyk(37.9%, 80.5%, 0%, 65.9%)
CIE-LABlab(14.81, 32.63, -34.63)
CIE-LCHlch(14.81, 47.58, 313.29°)
OKLaboklab(28.03% 0.0654 -0.0987)
OKLCHoklch(28.03% 0.118 303.5)
XYZxyz(3.4417, 1.8733, 9.1952)
Luminance0.0187 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#361157 #325711
analogous
#131157 #361157 #571155
triadic
#361157 #573611 #115736
tetradic
#361157 #571311 #325711 #115557
square
#361157 #571311 #325711 #115557
split-complementary
#361157 #555711 #115713
monochromatic
#10051A #160724 #361157 #561B8A #7625BD

Accessibility & contrast

On white

15.28
#361157 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#361157 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #361157
15.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##361157#FFFFFF#000000##FFFFFF
##3611571.0015.281.3715.28
#FFFFFF15.281.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002559
Deuteranopia (green-blind)
#002556
Tritanopia (blue-blind)
#2F2233
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #361157;
/* rgb */ color: rgb(54, 17, 87);
/* oklch */ color: oklch(28.0% 0.118 303.5);
Tailwind
colors: {
  custom: {
    50: '#715387',
    500: '#361157',
    950: '#000000',
  },
}
SCSS
$custom: #361157;
$custom-light: #715387;
$custom-dark: #000000;
JSON
{
  "hex": "#361157",
  "rgb": {
    "r": 54,
    "g": 17,
    "b": 87
  },
  "hsl": {
    "h": 271.714,
    "s": 67.308,
    "l": 20.392
  },
  "oklch": {
    "l": 0.28025,
    "c": 0.11837,
    "h": 303.5
  },
  "luminance": 0.01873
}

Semantic roles & 50–950 ramp

primary
#361157
secondary
#5F9034
accent
#EA3E8F
background
#F7F4F8
surface
#EDE7EF
border
#C8C3CA
text
#08030B
muted
#7B787C

Preview Lab

Preview with #361157

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

Preview Lab → · Contrast checker → · Palette generator →

#361157 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva