#361894#361894

#361894 is a dark, vivid violet. Relative luminance 0.036; OKLCH L 35.1% C 0.183 H 282.7°. Best body text is #FFFFFF at 12.24:1 contrast (WCAG AA passes).

Color values

HEX#361894
RGBrgb(54, 24, 148)
HSLhsl(255, 72%, 34%)
HSVhsv(255, 84%, 58%)
CMYKcmyk(63.5%, 83.8%, 0%, 42%)
CIE-LABlab(22.21, 46.76, -61.78)
CIE-LCHlch(22.21, 77.49, 307.12°)
OKLaboklab(35.07% 0.0401 -0.1782)
OKLCHoklch(35.07% 0.183 282.7)
XYZxyz(7.1916, 3.5751, 28.3223)
Luminance0.0358 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#361894 #769418
analogous
#183894 #361894 #741894
triadic
#361894 #943618 #189436
tetradic
#361894 #941838 #769418 #189474
square
#361894 #941838 #769418 #189474
split-complementary
#361894 #947418 #389418
monochromatic
#10072B #230F5F #361894 #4921C9 #6B45E1

Accessibility & contrast

On white

12.24
#361894 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#361894 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #361894
12.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##361894#FFFFFF#000000##FFFFFF
##3618941.0012.241.7212.24
#FFFFFF12.241.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003997
Deuteranopia (green-blind)
#003192
Tritanopia (blue-blind)
#003F58
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #361894;
/* rgb */ color: rgb(54, 24, 148);
/* oklch */ color: oklch(35.1% 0.183 282.7);
Tailwind
colors: {
  custom: {
    50: '#7b5bb5',
    500: '#361894',
    950: '#000000',
  },
}
SCSS
$custom: #361894;
$custom-light: #7b5bb5;
$custom-dark: #000000;
JSON
{
  "hex": "#361894",
  "rgb": {
    "r": 54,
    "g": 24,
    "b": 148
  },
  "hsl": {
    "h": 254.516,
    "s": 72.093,
    "l": 33.725
  },
  "oklch": {
    "l": 0.35074,
    "c": 0.18265,
    "h": 282.7
  },
  "luminance": 0.03576
}

Semantic roles & 50–950 ramp

primary
#361894
secondary
#A4C246
accent
#EF39C3
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0411
muted
#7C7980

Preview Lab

Preview with #361894

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

Preview Lab → · Contrast checker → · Palette generator →

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