#361683#361683

#361683 is a dark, vivid violet. Relative luminance 0.030; OKLCH L 33.0% C 0.165 H 286.7°. Best body text is #FFFFFF at 13.13:1 contrast (WCAG AA passes).

Color values

HEX#361683
RGBrgb(54, 22, 131)
HSLhsl(258, 71%, 30%)
HSVhsv(258, 83%, 51%)
CMYKcmyk(58.8%, 83.2%, 0%, 48.6%)
CIE-LABlab(20.03, 42.72, -54.77)
CIE-LCHlch(20.03, 69.46, 307.95°)
OKLaboklab(33.01% 0.0472 -0.1577)
OKLCHoklch(33.01% 0.165 286.7)
XYZxyz(5.9037, 2.9964, 21.7356)
Luminance0.0300 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#361683 #638316
analogous
#162C83 #361683 #6D1683
triadic
#361683 #833616 #168336
tetradic
#361683 #83162C #638316 #16836D
square
#361683 #83162C #638316 #16836D
split-complementary
#361683 #836D16 #2C8316
monochromatic
#0B041A #200D4F #361683 #4C1FB7 #6736DD

Accessibility & contrast

On white

13.13
#361683 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#361683 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #361683
13.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##361683#FFFFFF#000000##FFFFFF
##3616831.0013.131.6013.13
#FFFFFF13.131.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003386
Deuteranopia (green-blind)
#002D81
Tritanopia (blue-blind)
#10374D
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #361683;
/* rgb */ color: rgb(54, 22, 131);
/* oklch */ color: oklch(33.0% 0.165 286.7);
Tailwind
colors: {
  custom: {
    50: '#7759a8',
    500: '#361683',
    950: '#000000',
  },
}
SCSS
$custom: #361683;
$custom-light: #7759a8;
$custom-dark: #000000;
JSON
{
  "hex": "#361683",
  "rgb": {
    "r": 54,
    "g": 22,
    "b": 131
  },
  "hsl": {
    "h": 257.615,
    "s": 71.242,
    "l": 30
  },
  "oklch": {
    "l": 0.33009,
    "c": 0.16464,
    "h": 286.7
  },
  "luminance": 0.02997
}

Semantic roles & 50–950 ramp

primary
#361683
secondary
#94B73D
accent
#EE3AB9
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A0410
muted
#7C797F

Preview Lab

Preview with #361683

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

Preview Lab → · Contrast checker → · Palette generator →

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