#33186C#33186C

#33186C is a dark, vivid violet. Relative luminance 0.024; OKLCH L 30.5% C 0.135 H 290.8°. Best body text is #FFFFFF at 14.11:1 contrast (WCAG AA passes).

Color values

HEX#33186C
RGBrgb(51, 24, 108)
HSLhsl(259, 64%, 26%)
HSVhsv(259, 78%, 42%)
CMYKcmyk(52.8%, 77.8%, 0%, 57.6%)
CIE-LABlab(17.64, 34.49, -43.95)
CIE-LCHlch(17.64, 55.87, 308.12°)
OKLaboklab(30.54% 0.048 -0.1262)
OKLCHoklch(30.54% 0.135 290.8)
XYZxyz(4.3979, 2.4396, 14.4236)
Luminance0.0244 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#33186C #516C18
analogous
#18276C #33186C #5D186C
triadic
#33186C #6C3318 #186C33
tetradic
#33186C #6C1827 #516C18 #186C5D
square
#33186C #6C1827 #516C18 #186C5D
split-complementary
#33186C #6C5D18 #276C18
monochromatic
#0C0619 #1B0D3A #33186C #4B239E #622ED0

Accessibility & contrast

On white

14.11
#33186C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#33186C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #33186C
14.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##33186C#FFFFFF#000000##FFFFFF
##33186C1.0014.111.4914.11
#FFFFFF14.111.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D6E
Deuteranopia (green-blind)
#00296A
Tritanopia (blue-blind)
#1F2F40
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #33186c;
/* rgb */ color: rgb(51, 24, 108);
/* oklch */ color: oklch(30.5% 0.135 290.8);
Tailwind
colors: {
  custom: {
    50: '#715897',
    500: '#33186c',
    950: '#000000',
  },
}
SCSS
$custom: #33186c;
$custom-light: #715897;
$custom-dark: #000000;
JSON
{
  "hex": "#33186c",
  "rgb": {
    "r": 51,
    "g": 24,
    "b": 108
  },
  "hsl": {
    "h": 259.286,
    "s": 63.636,
    "l": 25.882
  },
  "oklch": {
    "l": 0.30543,
    "c": 0.13502,
    "h": 290.8
  },
  "luminance": 0.0244
}

Semantic roles & 50–950 ramp

primary
#33186C
secondary
#82A23E
accent
#E741B1
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08030D
muted
#7B787E

Preview Lab

Preview with #33186C

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

Preview Lab → · Contrast checker → · Palette generator →

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