#362170#362170

#362170 is a dark, vivid violet. Relative luminance 0.030; OKLCH L 32.6% C 0.129 H 289.5°. Best body text is #FFFFFF at 13.06:1 contrast (WCAG AA passes).

Color values

HEX#362170
RGBrgb(54, 33, 112)
HSLhsl(256, 54%, 28%)
HSVhsv(256, 71%, 44%)
CMYKcmyk(51.8%, 70.5%, 0%, 56.1%)
CIE-LABlab(20.21, 31.13, -42.33)
CIE-LCHlch(20.21, 52.55, 306.33°)
OKLaboklab(32.57% 0.0429 -0.1214)
OKLCHoklch(32.57% 0.129 289.5)
XYZxyz(4.9890, 3.0416, 15.6503)
Luminance0.0304 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#362170 #5B7021
analogous
#213370 #362170 #5D2170
triadic
#362170 #703621 #217036
tetradic
#362170 #702133 #5B7021 #21705D
square
#362170 #702133 #5B7021 #21705D
split-complementary
#362170 #705D21 #337021
monochromatic
#0B0718 #1F1341 #362170 #4D2F9F #6744C8

Accessibility & contrast

On white

13.06
#362170 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#362170 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #362170
13.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##362170#FFFFFF#000000##FFFFFF
##3621701.0013.061.6113.06
#FFFFFF13.061.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003272
Deuteranopia (green-blind)
#002F6E
Tritanopia (blue-blind)
#223545
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #362170;
/* rgb */ color: rgb(54, 33, 112);
/* oklch */ color: oklch(32.6% 0.129 289.5);
Tailwind
colors: {
  custom: {
    50: '#735e9a',
    500: '#362170',
    950: '#000000',
  },
}
SCSS
$custom: #362170;
$custom-light: #735e9a;
$custom-dark: #000000;
JSON
{
  "hex": "#362170",
  "rgb": {
    "r": 54,
    "g": 33,
    "b": 112
  },
  "hsl": {
    "h": 255.949,
    "s": 54.483,
    "l": 28.431
  },
  "oklch": {
    "l": 0.32566,
    "c": 0.12876,
    "h": 289.5
  },
  "luminance": 0.03042
}

Semantic roles & 50–950 ramp

primary
#362170
secondary
#8CA449
accent
#DE4AB7
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08040E
muted
#7B797E

Preview Lab

Preview with #362170

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

Preview Lab → · Contrast checker → · Palette generator →

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