#362295#362295

#362295 is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.3% C 0.175 H 281.2°. Best body text is #FFFFFF at 11.54:1 contrast (WCAG AA passes).

Color values

HEX#362295
RGBrgb(54, 34, 149)
HSLhsl(250, 63%, 36%)
HSVhsv(250, 77%, 58%)
CMYKcmyk(63.8%, 77.2%, 0%, 41.6%)
CIE-LABlab(23.99, 42.24, -59.47)
CIE-LCHlch(23.99, 72.94, 305.39°)
OKLaboklab(36.34% 0.0339 -0.1716)
OKLCHoklch(36.34% 0.175 281.2)
XYZxyz(7.5165, 4.0977, 28.8228)
Luminance0.0410 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#362295 #819522
analogous
#224795 #362295 #6F2295
triadic
#362295 #953622 #229536
tetradic
#362295 #952247 #819522 #22956F
square
#362295 #952247 #819522 #22956F
split-complementary
#362295 #956F22 #479522
monochromatic
#120B31 #241763 #362295 #482DC7 #6F58D9

Accessibility & contrast

On white

11.54
#362295 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#362295 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #362295
11.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##362295#FFFFFF#000000##FFFFFF
##3622951.0011.541.8211.54
#FFFFFF11.541.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D98
Deuteranopia (green-blind)
#003593
Tritanopia (blue-blind)
#00435A
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #362295;
/* rgb */ color: rgb(54, 34, 149);
/* oklch */ color: oklch(36.3% 0.175 281.2);
Tailwind
colors: {
  custom: {
    50: '#7a60b5',
    500: '#362295',
    950: '#000000',
  },
}
SCSS
$custom: #362295;
$custom-light: #7a60b5;
$custom-dark: #000000;
JSON
{
  "hex": "#362295",
  "rgb": {
    "r": 54,
    "g": 34,
    "b": 149
  },
  "hsl": {
    "h": 250.435,
    "s": 62.842,
    "l": 35.882
  },
  "oklch": {
    "l": 0.36343,
    "c": 0.17488,
    "h": 281.2
  },
  "luminance": 0.04098
}

Semantic roles & 50–950 ramp

primary
#362295
secondary
#ABBD56
accent
#E642C9
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0A0511
muted
#7C7980

Preview Lab

Preview with #362295

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

Preview Lab → · Contrast checker → · Palette generator →

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