#361862#361862

#361862 is a dark, vivid violet. Relative luminance 0.023; OKLCH L 29.9% C 0.123 H 296.8°. Best body text is #FFFFFF at 14.35:1 contrast (WCAG AA passes).

Color values

HEX#361862
RGBrgb(54, 24, 98)
HSLhsl(264, 61%, 24%)
HSVhsv(264, 76%, 38%)
CMYKcmyk(44.9%, 75.5%, 0%, 61.6%)
CIE-LABlab(17.08, 32.08, -38.28)
CIE-LCHlch(17.08, 49.95, 309.96°)
OKLaboklab(29.94% 0.0553 -0.1094)
OKLCHoklch(29.94% 0.123 296.8)
XYZxyz(4.0520, 2.3193, 11.7871)
Luminance0.0232 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#361862 #446218
analogous
#181F62 #361862 #5B1862
triadic
#361862 #623618 #186236
tetradic
#361862 #62181F #446218 #18625B
square
#361862 #62181F #446218 #18625B
split-complementary
#361862 #625B18 #1F6218
monochromatic
#0E0619 #1B0C31 #361862 #512493 #6C30C4

Accessibility & contrast

On white

14.35
#361862 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#361862 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #361862
14.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##361862#FFFFFF#000000##FFFFFF
##3618621.0014.351.4614.35
#FFFFFF14.351.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A64
Deuteranopia (green-blind)
#002961
Tritanopia (blue-blind)
#2B2A3B
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #361862;
/* rgb */ color: rgb(54, 24, 98);
/* oklch */ color: oklch(29.9% 0.123 296.8);
Tailwind
colors: {
  custom: {
    50: '#72588f',
    500: '#361862',
    950: '#000000',
  },
}
SCSS
$custom: #361862;
$custom-light: #72588f;
$custom-dark: #000000;
JSON
{
  "hex": "#361862",
  "rgb": {
    "r": 54,
    "g": 24,
    "b": 98
  },
  "hsl": {
    "h": 264.324,
    "s": 60.656,
    "l": 23.922
  },
  "oklch": {
    "l": 0.29941,
    "c": 0.12264,
    "h": 296.8
  },
  "luminance": 0.02319
}

Semantic roles & 50–950 ramp

primary
#361862
secondary
#73983E
accent
#E444A3
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#08030C
muted
#7B787D

Preview Lab

Preview with #361862

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

Preview Lab → · Contrast checker → · Palette generator →

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