#361257#361257

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

Color values

HEX#361257
RGBrgb(54, 18, 87)
HSLhsl(271, 66%, 21%)
HSVhsv(271, 79%, 34%)
CMYKcmyk(37.9%, 79.3%, 0%, 65.9%)
CIE-LABlab(14.98, 32.13, -34.35)
CIE-LCHlch(14.98, 47.04, 313.09°)
OKLaboklab(28.15% 0.0643 -0.0979)
OKLCHoklch(28.15% 0.117 303.3)
XYZxyz(3.4575, 1.9050, 9.2005)
Luminance0.0191 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#361257 #335712
analogous
#131257 #361257 #571255
triadic
#361257 #573612 #125736
tetradic
#361257 #571312 #335712 #125557
square
#361257 #571312 #335712 #125557
split-complementary
#361257 #555712 #125713
monochromatic
#100519 #170824 #361257 #551C8A #7527BC

Accessibility & contrast

On white

15.21
#361257 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #361257
15.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##361257#FFFFFF#000000##FFFFFF
##3612571.0015.211.3815.21
#FFFFFF15.211.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002559
Deuteranopia (green-blind)
#002556
Tritanopia (blue-blind)
#2F2333
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #361257;
/* rgb */ color: rgb(54, 18, 87);
/* oklch */ color: oklch(28.1% 0.117 303.3);
Tailwind
colors: {
  custom: {
    50: '#715487',
    500: '#361257',
    950: '#000000',
  },
}
SCSS
$custom: #361257;
$custom-light: #715487;
$custom-dark: #000000;
JSON
{
  "hex": "#361257",
  "rgb": {
    "r": 54,
    "g": 18,
    "b": 87
  },
  "hsl": {
    "h": 271.304,
    "s": 65.714,
    "l": 20.588
  },
  "oklch": {
    "l": 0.28147,
    "c": 0.11709,
    "h": 303.3
  },
  "luminance": 0.01905
}

Semantic roles & 50–950 ramp

primary
#361257
secondary
#609035
accent
#E93F90
background
#F7F4F8
surface
#EDE8EF
border
#C8C4CA
text
#08030B
muted
#7B787C

Preview Lab

Preview with #361257

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

Preview Lab → · Contrast checker → · Palette generator →

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