#361258#361258

#361258 is a dark, moderate violet. Relative luminance 0.019; OKLCH L 28.2% C 0.118 H 302.8°. Best body text is #FFFFFF at 15.17:1 contrast (WCAG AA passes).

Color values

HEX#361258
RGBrgb(54, 18, 88)
HSLhsl(271, 66%, 21%)
HSVhsv(271, 80%, 35%)
CMYKcmyk(38.6%, 79.5%, 0%, 65.5%)
CIE-LABlab(15.07, 32.40, -34.88)
CIE-LCHlch(15.07, 47.61, 312.89°)
OKLaboklab(28.24% 0.0641 -0.0994)
OKLCHoklch(28.24% 0.118 302.8)
XYZxyz(3.4987, 1.9215, 9.4172)
Luminance0.0192 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#361258 #345812
analogous
#131258 #361258 #581257
triadic
#361258 #583612 #125836
tetradic
#361258 #581312 #345812 #125758
square
#361258 #581312 #345812 #125758
split-complementary
#361258 #575812 #125813
monochromatic
#100519 #170825 #361258 #551C8B #7427BE

Accessibility & contrast

On white

15.17
#361258 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #361258
15.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##361258#FFFFFF#000000##FFFFFF
##3612581.0015.171.3815.17
#FFFFFF15.171.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00255A
Deuteranopia (green-blind)
#002657
Tritanopia (blue-blind)
#2F2334
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #361258;
/* rgb */ color: rgb(54, 18, 88);
/* oklch */ color: oklch(28.2% 0.118 302.8);
Tailwind
colors: {
  custom: {
    50: '#715488',
    500: '#361258',
    950: '#000000',
  },
}
SCSS
$custom: #361258;
$custom-light: #715488;
$custom-dark: #000000;
JSON
{
  "hex": "#361258",
  "rgb": {
    "r": 54,
    "g": 18,
    "b": 88
  },
  "hsl": {
    "h": 270.857,
    "s": 66.038,
    "l": 20.784
  },
  "oklch": {
    "l": 0.28237,
    "c": 0.11827,
    "h": 302.8
  },
  "luminance": 0.01921
}

Semantic roles & 50–950 ramp

primary
#361258
secondary
#629135
accent
#E93F91
background
#F7F4F8
surface
#EDE8F0
border
#C8C4CB
text
#08030B
muted
#7B787C

Preview Lab

Preview with #361258

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

Preview Lab → · Contrast checker → · Palette generator →

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