#361152#361152

#361152 is a dark, moderate violet. Relative luminance 0.018; OKLCH L 27.6% C 0.113 H 306.2°. Best body text is #FFFFFF at 15.45:1 contrast (WCAG AA passes).

Color values

HEX#361152
RGBrgb(54, 17, 82)
HSLhsl(274, 66%, 19%)
HSVhsv(274, 79%, 32%)
CMYKcmyk(34.1%, 79.3%, 0%, 67.8%)
CIE-LABlab(14.37, 31.29, -31.95)
CIE-LCHlch(14.37, 44.72, 314.41°)
OKLaboklab(27.58% 0.0665 -0.0908)
OKLCHoklch(27.58% 0.113 306.2)
XYZxyz(3.2444, 1.7944, 8.1564)
Luminance0.0179 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#361152 #2D5211
analogous
#161152 #361152 #52114E
triadic
#361152 #523611 #115236
tetradic
#361152 #521611 #2D5211 #114E52
square
#361152 #521611 #2D5211 #114E52
split-complementary
#361152 #4E5211 #115216
monochromatic
#110519 #15061F #361152 #571C85 #7926B7

Accessibility & contrast

On white

15.45
#361152 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#361152 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #361152
15.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##361152#FFFFFF#000000##FFFFFF
##3611521.0015.451.3615.45
#FFFFFF15.451.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002354
Deuteranopia (green-blind)
#002551
Tritanopia (blue-blind)
#312030
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #361152;
/* rgb */ color: rgb(54, 17, 82);
/* oklch */ color: oklch(27.6% 0.113 306.2);
Tailwind
colors: {
  custom: {
    50: '#705383',
    500: '#361152',
    950: '#000000',
  },
}
SCSS
$custom: #361152;
$custom-light: #705383;
$custom-dark: #000000;
JSON
{
  "hex": "#361152",
  "rgb": {
    "r": 54,
    "g": 17,
    "b": 82
  },
  "hsl": {
    "h": 274.154,
    "s": 65.657,
    "l": 19.412
  },
  "oklch": {
    "l": 0.27577,
    "c": 0.11254,
    "h": 306.2
  },
  "luminance": 0.01794
}

Semantic roles & 50–950 ramp

primary
#361152
secondary
#598B34
accent
#E93F88
background
#F7F4F8
surface
#EDE7EF
border
#C8C3CA
text
#08020B
muted
#7B787C

Preview Lab

Preview with #361152

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

Preview Lab → · Contrast checker → · Palette generator →

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