#33166F#33166F

#33166F is a dark, vivid violet. Relative luminance 0.024; OKLCH L 30.6% C 0.141 H 290.3°. Best body text is #FFFFFF at 14.14:1 contrast (WCAG AA passes).

Color values

HEX#33166F
RGBrgb(51, 22, 111)
HSLhsl(260, 67%, 26%)
HSVhsv(260, 80%, 44%)
CMYKcmyk(54.1%, 80.2%, 0%, 56.5%)
CIE-LABlab(17.58, 36.43, -46.01)
CIE-LCHlch(17.58, 58.69, 308.37°)
OKLaboklab(30.59% 0.0489 -0.1322)
OKLCHoklch(30.59% 0.141 290.3)
XYZxyz(4.5206, 2.4251, 15.2657)
Luminance0.0243 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#33166F #526F16
analogous
#16256F #33166F #5F166F
triadic
#33166F #6F3316 #166F33
tetradic
#33166F #6F1625 #526F16 #166F5F
square
#33166F #6F1625 #526F16 #166F5F
split-complementary
#33166F #6F5F16 #256F16
monochromatic
#0C051A #1C0C3C #33166F #4A20A2 #622BD5

Accessibility & contrast

On white

14.14
#33166F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#33166F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #33166F
14.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##33166F#FFFFFF#000000##FFFFFF
##33166F1.0014.141.4914.14
#FFFFFF14.141.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D72
Deuteranopia (green-blind)
#00296D
Tritanopia (blue-blind)
#1D2F42
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #33166f;
/* rgb */ color: rgb(51, 22, 111);
/* oklch */ color: oklch(30.6% 0.141 290.3);
Tailwind
colors: {
  custom: {
    50: '#725799',
    500: '#33166f',
    950: '#000000',
  },
}
SCSS
$custom: #33166f;
$custom-light: #725799;
$custom-dark: #000000;
JSON
{
  "hex": "#33166f",
  "rgb": {
    "r": 51,
    "g": 22,
    "b": 111
  },
  "hsl": {
    "h": 259.551,
    "s": 66.917,
    "l": 26.078
  },
  "oklch": {
    "l": 0.30588,
    "c": 0.14098,
    "h": 290.3
  },
  "luminance": 0.02425
}

Semantic roles & 50–950 ramp

primary
#33166F
secondary
#83A53C
accent
#EA3EB2
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08030E
muted
#7B787E

Preview Lab

Preview with #33166F

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

Preview Lab → · Contrast checker → · Palette generator →

#33166F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva