#33186A#33186A

#33186A is a dark, vivid violet. Relative luminance 0.024; OKLCH L 30.3% C 0.133 H 291.5°. Best body text is #FFFFFF at 14.19:1 contrast (WCAG AA passes).

Color values

HEX#33186A
RGBrgb(51, 24, 106)
HSLhsl(260, 63%, 25%)
HSVhsv(260, 77%, 42%)
CMYKcmyk(51.9%, 77.4%, 0%, 58.4%)
CIE-LABlab(17.45, 33.89, -42.96)
CIE-LCHlch(17.45, 54.72, 308.26°)
OKLaboklab(30.35% 0.0486 -0.1233)
OKLCHoklch(30.35% 0.133 291.5)
XYZxyz(4.2927, 2.3975, 13.8695)
Luminance0.0240 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#33186A #4F6A18
analogous
#18266A #33186A #5C186A
triadic
#33186A #6A3318 #186A33
tetradic
#33186A #6A1826 #4F6A18 #186A5C
square
#33186A #6A1826 #4F6A18 #186A5C
split-complementary
#33186A #6A5C18 #266A18
monochromatic
#0C0619 #1B0D38 #33186A #4B239C #632FCE

Accessibility & contrast

On white

14.19
#33186A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#33186A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #33186A
14.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##33186A#FFFFFF#000000##FFFFFF
##33186A1.0014.191.4814.19
#FFFFFF14.191.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C6C
Deuteranopia (green-blind)
#002968
Tritanopia (blue-blind)
#212E3F
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #33186a;
/* rgb */ color: rgb(51, 24, 106);
/* oklch */ color: oklch(30.3% 0.133 291.5);
Tailwind
colors: {
  custom: {
    50: '#715895',
    500: '#33186a',
    950: '#000000',
  },
}
SCSS
$custom: #33186a;
$custom-light: #715895;
$custom-dark: #000000;
JSON
{
  "hex": "#33186a",
  "rgb": {
    "r": 51,
    "g": 24,
    "b": 106
  },
  "hsl": {
    "h": 259.756,
    "s": 63.077,
    "l": 25.49
  },
  "oklch": {
    "l": 0.30346,
    "c": 0.13252,
    "h": 291.5
  },
  "luminance": 0.02398
}

Semantic roles & 50–950 ramp

primary
#33186A
secondary
#80A03E
accent
#E642B0
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08030D
muted
#7B787E

Preview Lab

Preview with #33186A

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

Preview Lab → · Contrast checker → · Palette generator →

#33186A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva