#361658#361658

#361658 is a dark, moderate violet. Relative luminance 0.021; OKLCH L 28.8% C 0.113 H 301.8°. Best body text is #FFFFFF at 14.87:1 contrast (WCAG AA passes).

Color values

HEX#361658
RGBrgb(54, 22, 88)
HSLhsl(269, 60%, 22%)
HSVhsv(269, 75%, 35%)
CMYKcmyk(38.6%, 75%, 0%, 65.5%)
CIE-LABlab(15.81, 30.31, -33.67)
CIE-LCHlch(15.81, 45.31, 312.00°)
OKLaboklab(28.77% 0.0596 -0.0959)
OKLCHoklch(28.77% 0.113 301.8)
XYZxyz(3.5693, 2.0627, 9.4407)
Luminance0.0206 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#361658 #385816
analogous
#161758 #361658 #571658
triadic
#361658 #583616 #165836
tetradic
#361658 #581617 #385816 #165857
square
#361658 #581617 #385816 #165857
split-complementary
#361658 #585716 #175816
monochromatic
#0F0618 #180A27 #361658 #542289 #722EBA

Accessibility & contrast

On white

14.87
#361658 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#361658 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #361658
14.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##361658#FFFFFF#000000##FFFFFF
##3616581.0014.871.4114.87
#FFFFFF14.871.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00275A
Deuteranopia (green-blind)
#002757
Tritanopia (blue-blind)
#2F2635
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #361658;
/* rgb */ color: rgb(54, 22, 88);
/* oklch */ color: oklch(28.8% 0.113 301.8);
Tailwind
colors: {
  custom: {
    50: '#715688',
    500: '#361658',
    950: '#000000',
  },
}
SCSS
$custom: #361658;
$custom-light: #715688;
$custom-dark: #000000;
JSON
{
  "hex": "#361658",
  "rgb": {
    "r": 54,
    "g": 22,
    "b": 88
  },
  "hsl": {
    "h": 269.091,
    "s": 60,
    "l": 21.569
  },
  "oklch": {
    "l": 0.28765,
    "c": 0.11287,
    "h": 301.8
  },
  "luminance": 0.02063
}

Semantic roles & 50–950 ramp

primary
#361658
secondary
#668F3B
accent
#E34596
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#08030B
muted
#7B787C

Preview Lab

Preview with #361658

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

Preview Lab → · Contrast checker → · Palette generator →

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