#361995#361995

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

Color values

HEX#361995
RGBrgb(54, 25, 149)
HSLhsl(254, 71%, 34%)
HSVhsv(254, 83%, 58%)
CMYKcmyk(63.8%, 83.2%, 0%, 41.6%)
CIE-LABlab(22.48, 46.62, -61.97)
CIE-LCHlch(22.48, 77.55, 306.95°)
OKLaboklab(35.29% 0.0392 -0.1787)
OKLCHoklch(35.29% 0.183 282.4)
XYZxyz(7.2921, 3.6489, 28.7480)
Luminance0.0365 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#361995 #789519
analogous
#193A95 #361995 #741995
triadic
#361995 #953619 #199536
tetradic
#361995 #95193A #789519 #199574
square
#361995 #95193A #789519 #199574
split-complementary
#361995 #957419 #3A9519
monochromatic
#10072C #231061 #361995 #4922C9 #6C48E0

Accessibility & contrast

On white

12.14
#361995 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#361995 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #361995
12.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##361995#FFFFFF#000000##FFFFFF
##3619951.0012.141.7312.14
#FFFFFF12.141.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A98
Deuteranopia (green-blind)
#003193
Tritanopia (blue-blind)
#004058
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #361995;
/* rgb */ color: rgb(54, 25, 149);
/* oklch */ color: oklch(35.3% 0.183 282.4);
Tailwind
colors: {
  custom: {
    50: '#7b5bb5',
    500: '#361995',
    950: '#000000',
  },
}
SCSS
$custom: #361995;
$custom-light: #7b5bb5;
$custom-dark: #000000;
JSON
{
  "hex": "#361995",
  "rgb": {
    "r": 54,
    "g": 25,
    "b": 149
  },
  "hsl": {
    "h": 254.032,
    "s": 71.264,
    "l": 34.118
  },
  "oklch": {
    "l": 0.35287,
    "c": 0.183,
    "h": 282.4
  },
  "luminance": 0.03649
}

Semantic roles & 50–950 ramp

primary
#361995
secondary
#A5C248
accent
#EE3AC4
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0411
muted
#7C7980

Preview Lab

Preview with #361995

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

Preview Lab → · Contrast checker → · Palette generator →

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