#361895#361895

#361895 is a dark, vivid violet. Relative luminance 0.036; OKLCH L 35.2% C 0.184 H 282.5°. Best body text is #FFFFFF at 12.20:1 contrast (WCAG AA passes).

Color values

HEX#361895
RGBrgb(54, 24, 149)
HSLhsl(254, 72%, 34%)
HSVhsv(254, 84%, 58%)
CMYKcmyk(63.8%, 83.9%, 0%, 41.6%)
CIE-LABlab(22.33, 47.05, -62.21)
CIE-LCHlch(22.33, 78.00, 307.10°)
OKLaboklab(35.19% 0.0397 -0.1794)
OKLCHoklch(35.19% 0.184 282.5)
XYZxyz(7.2711, 3.6069, 28.7410)
Luminance0.0361 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#361895 #779518
analogous
#183995 #361895 #751895
triadic
#361895 #953618 #189536
tetradic
#361895 #951839 #779518 #189575
square
#361895 #951839 #779518 #189575
split-complementary
#361895 #957518 #399518
monochromatic
#10072C #231060 #361895 #4920CA #6B46E1

Accessibility & contrast

On white

12.20
#361895 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #361895
12.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##361895#FFFFFF#000000##FFFFFF
##3618951.0012.201.7212.20
#FFFFFF12.201.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.201.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #361895;
/* rgb */ color: rgb(54, 24, 149);
/* oklch */ color: oklch(35.2% 0.184 282.5);
Tailwind
colors: {
  custom: {
    50: '#7b5bb5',
    500: '#361895',
    950: '#000000',
  },
}
SCSS
$custom: #361895;
$custom-light: #7b5bb5;
$custom-dark: #000000;
JSON
{
  "hex": "#361895",
  "rgb": {
    "r": 54,
    "g": 24,
    "b": 149
  },
  "hsl": {
    "h": 254.4,
    "s": 72.254,
    "l": 33.922
  },
  "oklch": {
    "l": 0.35185,
    "c": 0.18379,
    "h": 282.5
  },
  "luminance": 0.03607
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #361895

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

Preview Lab → · Contrast checker → · Palette generator →

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