#361255#361255

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

Color values

HEX#361255
RGBrgb(54, 18, 85)
HSLhsl(272, 65%, 20%)
HSVhsv(272, 79%, 33%)
CMYKcmyk(36.5%, 78.8%, 0%, 66.7%)
CIE-LABlab(14.80, 31.59, -33.28)
CIE-LCHlch(14.80, 45.89, 313.51°)
OKLaboklab(27.97% 0.0648 -0.0947)
OKLCHoklch(27.97% 0.115 304.4)
XYZxyz(3.3769, 1.8728, 8.7761)
Luminance0.0187 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#361255 #315512
analogous
#141255 #361255 #551252
triadic
#361255 #553612 #125536
tetradic
#361255 #551412 #315512 #125255
square
#361255 #551412 #315512 #125255
split-complementary
#361255 #525512 #125514
monochromatic
#100519 #160722 #361255 #561D88 #7627BA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##361255#FFFFFF#000000##FFFFFF
##3612551.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)
#002457
Deuteranopia (green-blind)
#002554
Tritanopia (blue-blind)
#302232
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #361255;
/* rgb */ color: rgb(54, 18, 85);
/* oklch */ color: oklch(28.0% 0.115 304.4);
Tailwind
colors: {
  custom: {
    50: '#715485',
    500: '#361255',
    950: '#000000',
  },
}
SCSS
$custom: #361255;
$custom-light: #715485;
$custom-dark: #000000;
JSON
{
  "hex": "#361255",
  "rgb": {
    "r": 54,
    "g": 18,
    "b": 85
  },
  "hsl": {
    "h": 272.239,
    "s": 65.049,
    "l": 20.196
  },
  "oklch": {
    "l": 0.27967,
    "c": 0.11473,
    "h": 304.4
  },
  "luminance": 0.01873
}

Semantic roles & 50–950 ramp

primary
#361255
secondary
#5E8E35
accent
#E8408E
background
#F7F4F8
surface
#EDE8EF
border
#C8C4CA
text
#08030B
muted
#7B787C

Preview Lab

Preview with #361255

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

Preview Lab → · Contrast checker → · Palette generator →

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