#361652#361652

#361652 is a dark, moderate violet. Relative luminance 0.020; OKLCH L 28.3% C 0.105 H 305.0°. Best body text is #FFFFFF at 15.07:1 contrast (WCAG AA passes).

Color values

HEX#361652
RGBrgb(54, 22, 82)
HSLhsl(272, 58%, 20%)
HSVhsv(272, 73%, 32%)
CMYKcmyk(34.1%, 73.2%, 0%, 67.8%)
CIE-LABlab(15.31, 28.65, -30.42)
CIE-LCHlch(15.31, 41.78, 313.28°)
OKLaboklab(28.25% 0.0605 -0.0863)
OKLCHoklch(28.25% 0.105 305)
XYZxyz(3.3309, 1.9673, 8.1853)
Luminance0.0197 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#361652 #325216
analogous
#181652 #361652 #521650
triadic
#361652 #523616 #165236
tetradic
#361652 #521816 #325216 #165052
square
#361652 #521816 #325216 #165052
split-complementary
#361652 #505216 #165218
monochromatic
#100618 #160922 #361652 #562382 #7630B3

Accessibility & contrast

On white

15.07
#361652 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#361652 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #361652
15.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##361652#FFFFFF#000000##FFFFFF
##3616521.0015.071.3915.07
#FFFFFF15.071.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002554
Deuteranopia (green-blind)
#042651
Tritanopia (blue-blind)
#312332
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #361652;
/* rgb */ color: rgb(54, 22, 82);
/* oklch */ color: oklch(28.3% 0.105 305.0);
Tailwind
colors: {
  custom: {
    50: '#705683',
    500: '#361652',
    950: '#000000',
  },
}
SCSS
$custom: #361652;
$custom-light: #705683;
$custom-dark: #000000;
JSON
{
  "hex": "#361652",
  "rgb": {
    "r": 54,
    "g": 22,
    "b": 82
  },
  "hsl": {
    "h": 272,
    "s": 57.692,
    "l": 20.392
  },
  "oklch": {
    "l": 0.28251,
    "c": 0.10539,
    "h": 305
  },
  "luminance": 0.01967
}

Semantic roles & 50–950 ramp

primary
#361652
secondary
#5F893A
accent
#E1478F
background
#F6F5F8
surface
#ECE9EF
border
#C7C5CA
text
#08030A
muted
#7B787C

Preview Lab

Preview with #361652

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

Preview Lab → · Contrast checker → · Palette generator →

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