#361154#361154

#361154 is a dark, moderate violet. Relative luminance 0.018; OKLCH L 27.8% C 0.115 H 305.1°. Best body text is #FFFFFF at 15.38:1 contrast (WCAG AA passes).

Color values

HEX#361154
RGBrgb(54, 17, 84)
HSLhsl(273, 66%, 20%)
HSVhsv(273, 80%, 33%)
CMYKcmyk(35.7%, 79.8%, 0%, 67.1%)
CIE-LABlab(14.54, 31.82, -33.03)
CIE-LCHlch(14.54, 45.86, 313.93°)
OKLaboklab(27.75% 0.0661 -0.094)
OKLCHoklch(27.75% 0.115 305.1)
XYZxyz(3.3216, 1.8253, 8.5631)
Luminance0.0182 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#361154 #2F5411
analogous
#141154 #361154 #541151
triadic
#361154 #543611 #115436
tetradic
#361154 #541411 #2F5411 #115154
square
#361154 #541411 #2F5411 #115154
split-complementary
#361154 #515411 #115414
monochromatic
#100519 #150721 #361154 #571B87 #7726BA

Accessibility & contrast

On white

15.38
#361154 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #361154
15.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##361154#FFFFFF#000000##FFFFFF
##3611541.0015.381.3715.38
#FFFFFF15.381.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002456
Deuteranopia (green-blind)
#002553
Tritanopia (blue-blind)
#302131
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #361154;
/* rgb */ color: rgb(54, 17, 84);
/* oklch */ color: oklch(27.8% 0.115 305.1);
Tailwind
colors: {
  custom: {
    50: '#715385',
    500: '#361154',
    950: '#000000',
  },
}
SCSS
$custom: #361154;
$custom-light: #715385;
$custom-dark: #000000;
JSON
{
  "hex": "#361154",
  "rgb": {
    "r": 54,
    "g": 17,
    "b": 84
  },
  "hsl": {
    "h": 273.134,
    "s": 66.337,
    "l": 19.804
  },
  "oklch": {
    "l": 0.27754,
    "c": 0.11487,
    "h": 305.1
  },
  "luminance": 0.01825
}

Semantic roles & 50–950 ramp

primary
#361154
secondary
#5C8D34
accent
#E93F8B
background
#F7F4F8
surface
#EDE7EF
border
#C8C3CA
text
#08030B
muted
#7B787C

Preview Lab

Preview with #361154

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

Preview Lab → · Contrast checker → · Palette generator →

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