#362095#362095

#362095 is a dark, vivid violet. Relative luminance 0.040; OKLCH L 36.1% C 0.177 H 281.5°. Best body text is #FFFFFF at 11.68:1 contrast (WCAG AA passes).

Color values

HEX#362095
RGBrgb(54, 32, 149)
HSLhsl(251, 65%, 35%)
HSVhsv(251, 79%, 58%)
CMYKcmyk(63.8%, 78.5%, 0%, 41.6%)
CIE-LABlab(23.63, 43.28, -60.07)
CIE-LCHlch(23.63, 74.03, 305.77°)
OKLaboklab(36.09% 0.0352 -0.1733)
OKLCHoklch(36.09% 0.177 281.5)
XYZxyz(7.4609, 3.9867, 28.8043)
Luminance0.0399 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#362095 #7F9520
analogous
#204495 #362095 #702095
triadic
#362095 #953620 #209536
tetradic
#362095 #952044 #7F9520 #209570
square
#362095 #952044 #7F9520 #209570
split-complementary
#362095 #957020 #449520
monochromatic
#110A30 #241563 #362095 #482BC7 #6E55DA

Accessibility & contrast

On white

11.68
#362095 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#362095 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #362095
11.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##362095#FFFFFF#000000##FFFFFF
##3620951.0011.681.8011.68
#FFFFFF11.681.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C98
Deuteranopia (green-blind)
#003493
Tritanopia (blue-blind)
#00425A
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #362095;
/* rgb */ color: rgb(54, 32, 149);
/* oklch */ color: oklch(36.1% 0.177 281.5);
Tailwind
colors: {
  custom: {
    50: '#7a5fb5',
    500: '#362095',
    950: '#000000',
  },
}
SCSS
$custom: #362095;
$custom-light: #7a5fb5;
$custom-dark: #000000;
JSON
{
  "hex": "#362095",
  "rgb": {
    "r": 54,
    "g": 32,
    "b": 149
  },
  "hsl": {
    "h": 251.282,
    "s": 64.641,
    "l": 35.49
  },
  "oklch": {
    "l": 0.36087,
    "c": 0.17683,
    "h": 281.5
  },
  "luminance": 0.03987
}

Semantic roles & 50–950 ramp

primary
#362095
secondary
#AABE53
accent
#E840C8
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0A0511
muted
#7C7980

Preview Lab

Preview with #362095

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

Preview Lab → · Contrast checker → · Palette generator →

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