#361865#361865

#361865 is a dark, vivid violet. Relative luminance 0.024; OKLCH L 30.2% C 0.126 H 295.6°. Best body text is #FFFFFF at 14.23:1 contrast (WCAG AA passes).

Color values

HEX#361865
RGBrgb(54, 24, 101)
HSLhsl(263, 62%, 25%)
HSVhsv(263, 76%, 40%)
CMYKcmyk(46.5%, 76.2%, 0%, 60.4%)
CIE-LABlab(17.35, 32.95, -39.82)
CIE-LCHlch(17.35, 51.69, 309.61°)
OKLaboklab(30.22% 0.0547 -0.114)
OKLCHoklch(30.22% 0.126 295.6)
XYZxyz(4.1963, 2.3770, 12.5471)
Luminance0.0238 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#361865 #476518
analogous
#182065 #361865 #5D1865
triadic
#361865 #653618 #186536
tetradic
#361865 #651820 #476518 #18655D
square
#361865 #651820 #476518 #18655D
split-complementary
#361865 #655D18 #206518
monochromatic
#0D0619 #1C0C34 #361865 #502496 #6B30C8

Accessibility & contrast

On white

14.23
#361865 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#361865 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #361865
14.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##361865#FFFFFF#000000##FFFFFF
##3618651.0014.231.4814.23
#FFFFFF14.231.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B67
Deuteranopia (green-blind)
#002963
Tritanopia (blue-blind)
#292C3D
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #361865;
/* rgb */ color: rgb(54, 24, 101);
/* oklch */ color: oklch(30.2% 0.126 295.6);
Tailwind
colors: {
  custom: {
    50: '#725892',
    500: '#361865',
    950: '#000000',
  },
}
SCSS
$custom: #361865;
$custom-light: #725892;
$custom-dark: #000000;
JSON
{
  "hex": "#361865",
  "rgb": {
    "r": 54,
    "g": 24,
    "b": 101
  },
  "hsl": {
    "h": 263.377,
    "s": 61.6,
    "l": 24.51
  },
  "oklch": {
    "l": 0.30219,
    "c": 0.12639,
    "h": 295.6
  },
  "luminance": 0.02377
}

Semantic roles & 50–950 ramp

primary
#361865
secondary
#779B3E
accent
#E543A6
background
#F7F5F9
surface
#EDE9F1
border
#C8C5CB
text
#08030D
muted
#7B787E

Preview Lab

Preview with #361865

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

Preview Lab → · Contrast checker → · Palette generator →

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