#362183#362183

#362183 is a dark, vivid violet. Relative luminance 0.035; OKLCH L 34.4% C 0.153 H 284.8°. Best body text is #FFFFFF at 12.34:1 contrast (WCAG AA passes).

Color values

HEX#362183
RGBrgb(54, 33, 131)
HSLhsl(253, 60%, 32%)
HSVhsv(253, 75%, 51%)
CMYKcmyk(58.8%, 74.8%, 0%, 48.6%)
CIE-LABlab(21.98, 37.13, -51.56)
CIE-LCHlch(21.98, 63.54, 305.76°)
OKLaboklab(34.38% 0.0391 -0.1484)
OKLCHoklch(34.38% 0.154 284.8)
XYZxyz(6.1607, 3.5103, 21.8213)
Luminance0.0351 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#362183 #6E8321
analogous
#213D83 #362183 #672183
triadic
#362183 #833621 #218336
tetradic
#362183 #83213D #6E8321 #218367
square
#362183 #83213D #6E8321 #218367
split-complementary
#362183 #836721 #3D8321
monochromatic
#0E0821 #221552 #362183 #4A2DB4 #694CD2

Accessibility & contrast

On white

12.34
#362183 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#362183 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #362183
12.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##362183#FFFFFF#000000##FFFFFF
##3621831.0012.341.7012.34
#FFFFFF12.341.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003786
Deuteranopia (green-blind)
#003281
Tritanopia (blue-blind)
#0E3C50
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #362183;
/* rgb */ color: rgb(54, 33, 131);
/* oklch */ color: oklch(34.4% 0.153 284.8);
Tailwind
colors: {
  custom: {
    50: '#775fa8',
    500: '#362183',
    950: '#000000',
  },
}
SCSS
$custom: #362183;
$custom-light: #775fa8;
$custom-dark: #000000;
JSON
{
  "hex": "#362183",
  "rgb": {
    "r": 54,
    "g": 33,
    "b": 131
  },
  "hsl": {
    "h": 252.857,
    "s": 59.756,
    "l": 32.157
  },
  "oklch": {
    "l": 0.34375,
    "c": 0.1535,
    "h": 284.8
  },
  "luminance": 0.03511
}

Semantic roles & 50–950 ramp

primary
#362183
secondary
#9EB54B
accent
#E345C1
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#090410
muted
#7B797F

Preview Lab

Preview with #362183

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

Preview Lab → · Contrast checker → · Palette generator →

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