#362297#362297

#362297 is a dark, vivid violet. Relative luminance 0.042; OKLCH L 36.6% C 0.177 H 280.8°. Best body text is #FFFFFF at 11.46:1 contrast (WCAG AA passes).

Color values

HEX#362297
RGBrgb(54, 34, 151)
HSLhsl(250, 63%, 36%)
HSVhsv(250, 77%, 59%)
CMYKcmyk(64.2%, 77.5%, 0%, 40.8%)
CIE-LABlab(24.20, 42.86, -60.35)
CIE-LCHlch(24.20, 74.02, 305.38°)
OKLaboklab(36.55% 0.0334 -0.1741)
OKLCHoklch(36.55% 0.177 280.8)
XYZxyz(7.6775, 4.1621, 29.6709)
Luminance0.0416 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#362297 #839722
analogous
#224997 #362297 #712297
triadic
#362297 #973622 #229736
tetradic
#362297 #972249 #839722 #229771
square
#362297 #972249 #839722 #229771
split-complementary
#362297 #977122 #499722
monochromatic
#120C33 #241765 #362297 #482DC9 #705ADA

Accessibility & contrast

On white

11.46
#362297 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#362297 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #362297
11.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##362297#FFFFFF#000000##FFFFFF
##3622971.0011.461.8311.46
#FFFFFF11.461.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E9A
Deuteranopia (green-blind)
#003595
Tritanopia (blue-blind)
#00445B
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #362297;
/* rgb */ color: rgb(54, 34, 151);
/* oklch */ color: oklch(36.6% 0.177 280.8);
Tailwind
colors: {
  custom: {
    50: '#7a60b7',
    500: '#362297',
    950: '#000000',
  },
}
SCSS
$custom: #362297;
$custom-light: #7a60b7;
$custom-dark: #000000;
JSON
{
  "hex": "#362297",
  "rgb": {
    "r": 54,
    "g": 34,
    "b": 151
  },
  "hsl": {
    "h": 250.256,
    "s": 63.243,
    "l": 36.275
  },
  "oklch": {
    "l": 0.36551,
    "c": 0.17732,
    "h": 280.8
  },
  "luminance": 0.04163
}

Semantic roles & 50–950 ramp

primary
#362297
secondary
#ACBE57
accent
#E642CA
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0A0511
muted
#7C7980

Preview Lab

Preview with #362297

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

Preview Lab → · Contrast checker → · Palette generator →

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