#361864#361864

#361864 is a dark, vivid violet. Relative luminance 0.024; OKLCH L 30.1% C 0.125 H 296.0°. Best body text is #FFFFFF at 14.27:1 contrast (WCAG AA passes).

Color values

HEX#361864
RGBrgb(54, 24, 100)
HSLhsl(264, 61%, 24%)
HSVhsv(264, 76%, 39%)
CMYKcmyk(46%, 76%, 0%, 60.8%)
CIE-LABlab(17.26, 32.66, -39.31)
CIE-LCHlch(17.26, 51.11, 309.72°)
OKLaboklab(30.13% 0.0549 -0.1125)
OKLCHoklch(30.13% 0.125 296)
XYZxyz(4.1476, 2.3575, 12.2906)
Luminance0.0236 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#361864 #466418
analogous
#182064 #361864 #5C1864
triadic
#361864 #643618 #186436
tetradic
#361864 #641820 #466418 #18645C
square
#361864 #641820 #466418 #18645C
split-complementary
#361864 #645C18 #206418
monochromatic
#0D0619 #1B0C33 #361864 #512495 #6B30C7

Accessibility & contrast

On white

14.27
#361864 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#361864 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #361864
14.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##361864#FFFFFF#000000##FFFFFF
##3618641.0014.271.4714.27
#FFFFFF14.271.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B66
Deuteranopia (green-blind)
#002962
Tritanopia (blue-blind)
#2A2B3C
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #361864;
/* rgb */ color: rgb(54, 24, 100);
/* oklch */ color: oklch(30.1% 0.125 296.0);
Tailwind
colors: {
  custom: {
    50: '#725891',
    500: '#361864',
    950: '#000000',
  },
}
SCSS
$custom: #361864;
$custom-light: #725891;
$custom-dark: #000000;
JSON
{
  "hex": "#361864",
  "rgb": {
    "r": 54,
    "g": 24,
    "b": 100
  },
  "hsl": {
    "h": 263.684,
    "s": 61.29,
    "l": 24.314
  },
  "oklch": {
    "l": 0.30126,
    "c": 0.12515,
    "h": 296
  },
  "luminance": 0.02358
}

Semantic roles & 50–950 ramp

primary
#361864
secondary
#769A3E
accent
#E443A5
background
#F7F5F9
surface
#EDE9F1
border
#C8C5CB
text
#08030D
muted
#7B787E

Preview Lab

Preview with #361864

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

Preview Lab → · Contrast checker → · Palette generator →

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