#361158#361158

#361158 is a dark, moderate violet. Relative luminance 0.019; OKLCH L 28.1% C 0.120 H 303.0°. Best body text is #FFFFFF at 15.24:1 contrast (WCAG AA passes).

Color values

HEX#361158
RGBrgb(54, 17, 88)
HSLhsl(271, 68%, 21%)
HSVhsv(271, 81%, 35%)
CMYKcmyk(38.6%, 80.7%, 0%, 65.5%)
CIE-LABlab(14.90, 32.89, -35.16)
CIE-LCHlch(14.90, 48.15, 313.09°)
OKLaboklab(28.12% 0.0651 -0.1002)
OKLCHoklch(28.12% 0.12 303)
XYZxyz(3.4828, 1.8897, 9.4119)
Luminance0.0189 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#361158 #335811
analogous
#131158 #361158 #581156
triadic
#361158 #583611 #115836
tetradic
#361158 #581311 #335811 #115658
square
#361158 #581311 #335811 #115658
split-complementary
#361158 #565811 #115813
monochromatic
#10051A #170725 #361158 #551B8B #7525BF

Accessibility & contrast

On white

15.24
#361158 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#361158 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #361158
15.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##361158#FFFFFF#000000##FFFFFF
##3611581.0015.241.3815.24
#FFFFFF15.241.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00255A
Deuteranopia (green-blind)
#002557
Tritanopia (blue-blind)
#2F2333
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #361158;
/* rgb */ color: rgb(54, 17, 88);
/* oklch */ color: oklch(28.1% 0.120 303.0);
Tailwind
colors: {
  custom: {
    50: '#715388',
    500: '#361158',
    950: '#000000',
  },
}
SCSS
$custom: #361158;
$custom-light: #715388;
$custom-dark: #000000;
JSON
{
  "hex": "#361158",
  "rgb": {
    "r": 54,
    "g": 17,
    "b": 88
  },
  "hsl": {
    "h": 271.268,
    "s": 67.619,
    "l": 20.588
  },
  "oklch": {
    "l": 0.28116,
    "c": 0.11952,
    "h": 303
  },
  "luminance": 0.0189
}

Semantic roles & 50–950 ramp

primary
#361158
secondary
#609134
accent
#EA3D90
background
#F7F4F8
surface
#EDE7F0
border
#C8C3CB
text
#08030B
muted
#7B787C

Preview Lab

Preview with #361158

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

Preview Lab → · Contrast checker → · Palette generator →

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