#33116A#33116A

#33116A is a dark, vivid violet. Relative luminance 0.021; OKLCH L 29.5% C 0.140 H 292.9°. Best body text is #FFFFFF at 14.70:1 contrast (WCAG AA passes).

Color values

HEX#33116A
RGBrgb(51, 17, 106)
HSLhsl(263, 72%, 24%)
HSVhsv(263, 84%, 42%)
CMYKcmyk(51.9%, 84%, 0%, 58.4%)
CIE-LABlab(16.23, 37.37, -44.96)
CIE-LCHlch(16.23, 58.46, 309.73°)
OKLaboklab(29.49% 0.0546 -0.1291)
OKLCHoklch(29.49% 0.14 292.9)
XYZxyz(4.1665, 2.1452, 13.8274)
Luminance0.0215 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#33116A #486A11
analogous
#111C6A #33116A #60116A
triadic
#33116A #6A3311 #116A33
tetradic
#33116A #6A111C #486A11 #116A60
square
#33116A #6A111C #486A11 #116A60
split-complementary
#33116A #6A6011 #1C6A11
monochromatic
#0D041A #1A0935 #33116A #4C199F #6622D3

Accessibility & contrast

On white

14.70
#33116A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#33116A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #33116A
14.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##33116A#FFFFFF#000000##FFFFFF
##33116A1.0014.701.4314.70
#FFFFFF14.701.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00296C
Deuteranopia (green-blind)
#002768
Tritanopia (blue-blind)
#212B3E
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #33116a;
/* rgb */ color: rgb(51, 17, 106);
/* oklch */ color: oklch(29.5% 0.140 292.9);
Tailwind
colors: {
  custom: {
    50: '#725496',
    500: '#33116a',
    950: '#000000',
  },
}
SCSS
$custom: #33116a;
$custom-light: #725496;
$custom-dark: #000000;
JSON
{
  "hex": "#33116a",
  "rgb": {
    "r": 51,
    "g": 17,
    "b": 106
  },
  "hsl": {
    "h": 262.921,
    "s": 72.358,
    "l": 24.118
  },
  "oklch": {
    "l": 0.29494,
    "c": 0.14016,
    "h": 292.9
  },
  "luminance": 0.02145
}

Semantic roles & 50–950 ramp

primary
#33116A
secondary
#78A235
accent
#EF39A9
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08030D
muted
#7B787E

Preview Lab

Preview with #33116A

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

Preview Lab → · Contrast checker → · Palette generator →

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