#362166#362166

#362166 is a dark, moderate violet. Relative luminance 0.028; OKLCH L 31.7% C 0.115 H 292.6°. Best body text is #FFFFFF at 13.41:1 contrast (WCAG AA passes).

Color values

HEX#362166
RGBrgb(54, 33, 102)
HSLhsl(258, 51%, 26%)
HSVhsv(258, 68%, 40%)
CMYKcmyk(47.1%, 67.6%, 0%, 60%)
CIE-LABlab(19.35, 27.99, -37.22)
CIE-LCHlch(19.35, 46.57, 306.94°)
OKLaboklab(31.68% 0.0443 -0.1063)
OKLCHoklch(31.68% 0.115 292.6)
XYZxyz(4.4628, 2.8312, 12.8791)
Luminance0.0283 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#362166 #516621
analogous
#212F66 #362166 #592166
triadic
#362166 #663621 #216636
tetradic
#362166 #66212F #516621 #216659
square
#362166 #66212F #516621 #216659
split-complementary
#362166 #665921 #2F6621
monochromatic
#0C0717 #1E1238 #362166 #4E3094 #6740C1

Accessibility & contrast

On white

13.41
#362166 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#362166 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #362166
13.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##362166#FFFFFF#000000##FFFFFF
##3621661.0013.411.5713.41
#FFFFFF13.411.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003068
Deuteranopia (green-blind)
#002E65
Tritanopia (blue-blind)
#283140
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #362166;
/* rgb */ color: rgb(54, 33, 102);
/* oklch */ color: oklch(31.7% 0.115 292.6);
Tailwind
colors: {
  custom: {
    50: '#725d92',
    500: '#362166',
    950: '#000000',
  },
}
SCSS
$custom: #362166;
$custom-light: #725d92;
$custom-dark: #000000;
JSON
{
  "hex": "#362166",
  "rgb": {
    "r": 54,
    "g": 33,
    "b": 102
  },
  "hsl": {
    "h": 258.261,
    "s": 51.111,
    "l": 26.471
  },
  "oklch": {
    "l": 0.31681,
    "c": 0.1152,
    "h": 292.6
  },
  "luminance": 0.02831
}

Semantic roles & 50–950 ramp

primary
#362166
secondary
#819A49
accent
#DB4DB0
background
#F7F5F9
surface
#EDE9F1
border
#C8C5CB
text
#08040D
muted
#7B797E

Preview Lab

Preview with #362166

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

Preview Lab → · Contrast checker → · Palette generator →

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