#361893#361893

#361893 is a dark, vivid violet. Relative luminance 0.035; OKLCH L 35.0% C 0.181 H 282.9°. Best body text is #FFFFFF at 12.29:1 contrast (WCAG AA passes).

Color values

HEX#361893
RGBrgb(54, 24, 147)
HSLhsl(255, 72%, 34%)
HSVhsv(255, 84%, 58%)
CMYKcmyk(63.3%, 83.7%, 0%, 42.4%)
CIE-LABlab(22.10, 46.47, -61.35)
CIE-LCHlch(22.10, 76.97, 307.14°)
OKLaboklab(34.96% 0.0404 -0.1769)
OKLCHoklch(34.96% 0.182 282.9)
XYZxyz(7.1128, 3.5436, 27.9073)
Luminance0.0354 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#361893 #759318
analogous
#183793 #361893 #731893
triadic
#361893 #933618 #189336
tetradic
#361893 #931837 #759318 #189373
square
#361893 #931837 #759318 #189373
split-complementary
#361893 #937318 #379318
monochromatic
#0F072A #230F5E #361893 #4921C8 #6B45E1

Accessibility & contrast

On white

12.29
#361893 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#361893 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #361893
12.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##361893#FFFFFF#000000##FFFFFF
##3618931.0012.291.7112.29
#FFFFFF12.291.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003996
Deuteranopia (green-blind)
#003191
Tritanopia (blue-blind)
#003E57
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #361893;
/* rgb */ color: rgb(54, 24, 147);
/* oklch */ color: oklch(35.0% 0.181 282.9);
Tailwind
colors: {
  custom: {
    50: '#7a5bb4',
    500: '#361893',
    950: '#000000',
  },
}
SCSS
$custom: #361893;
$custom-light: #7a5bb4;
$custom-dark: #000000;
JSON
{
  "hex": "#361893",
  "rgb": {
    "r": 54,
    "g": 24,
    "b": 147
  },
  "hsl": {
    "h": 254.634,
    "s": 71.93,
    "l": 33.529
  },
  "oklch": {
    "l": 0.34963,
    "c": 0.1815,
    "h": 282.9
  },
  "luminance": 0.03544
}

Semantic roles & 50–950 ramp

primary
#361893
secondary
#A3C245
accent
#EF39C2
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0A0411
muted
#7C7980

Preview Lab

Preview with #361893

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

Preview Lab → · Contrast checker → · Palette generator →

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