#361254#361254

#361254 is a dark, moderate violet. Relative luminance 0.019; OKLCH L 27.9% C 0.114 H 304.9°. Best body text is #FFFFFF at 15.31:1 contrast (WCAG AA passes).

Color values

HEX#361254
RGBrgb(54, 18, 84)
HSLhsl(273, 65%, 20%)
HSVhsv(273, 79%, 33%)
CMYKcmyk(35.7%, 78.6%, 0%, 67.1%)
CIE-LABlab(14.72, 31.33, -32.74)
CIE-LCHlch(14.72, 45.31, 313.73°)
OKLaboklab(27.88% 0.065 -0.0931)
OKLCHoklch(27.88% 0.114 304.9)
XYZxyz(3.3375, 1.8570, 8.5684)
Luminance0.0186 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#361254 #305412
analogous
#151254 #361254 #541251
triadic
#361254 #543612 #125436
tetradic
#361254 #541512 #305412 #125154
square
#361254 #541512 #305412 #125154
split-complementary
#361254 #515412 #125415
monochromatic
#100519 #160722 #361254 #561D86 #7728B9

Accessibility & contrast

On white

15.31
#361254 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #361254
15.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##361254#FFFFFF#000000##FFFFFF
##3612541.0015.311.3715.31
#FFFFFF15.311.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.311.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #361254;
/* rgb */ color: rgb(54, 18, 84);
/* oklch */ color: oklch(27.9% 0.114 304.9);
Tailwind
colors: {
  custom: {
    50: '#705485',
    500: '#361254',
    950: '#000000',
  },
}
SCSS
$custom: #361254;
$custom-light: #705485;
$custom-dark: #000000;
JSON
{
  "hex": "#361254",
  "rgb": {
    "r": 54,
    "g": 18,
    "b": 84
  },
  "hsl": {
    "h": 272.727,
    "s": 64.706,
    "l": 20
  },
  "oklch": {
    "l": 0.27879,
    "c": 0.11355,
    "h": 304.9
  },
  "luminance": 0.01857
}

Semantic roles & 50–950 ramp

primary
#361254
secondary
#5D8D35
accent
#E8408C
background
#F7F4F8
surface
#EDE7EF
border
#C8C3CA
text
#08030B
muted
#7B787C

Preview Lab

Preview with #361254

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

Preview Lab → · Contrast checker → · Palette generator →

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