#33166E#33166E

#33166E is a dark, vivid violet. Relative luminance 0.024; OKLCH L 30.5% C 0.140 H 290.6°. Best body text is #FFFFFF at 14.18:1 contrast (WCAG AA passes).

Color values

HEX#33166E
RGBrgb(51, 22, 110)
HSLhsl(260, 67%, 26%)
HSVhsv(260, 80%, 43%)
CMYKcmyk(53.6%, 80%, 0%, 56.9%)
CIE-LABlab(17.48, 36.13, -45.53)
CIE-LCHlch(17.48, 58.12, 308.44°)
OKLaboklab(30.49% 0.0492 -0.1308)
OKLCHoklch(30.49% 0.14 290.6)
XYZxyz(4.4658, 2.4032, 14.9774)
Luminance0.0240 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#33166E #516E16
analogous
#16256E #33166E #5F166E
triadic
#33166E #6E3316 #166E33
tetradic
#33166E #6E1625 #516E16 #166E5F
square
#33166E #6E1625 #516E16 #166E5F
split-complementary
#33166E #6E5F16 #256E16
monochromatic
#0C051A #1B0C3B #33166E #4B20A1 #622AD4

Accessibility & contrast

On white

14.18
#33166E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#33166E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #33166E
14.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##33166E#FFFFFF#000000##FFFFFF
##33166E1.0014.181.4814.18
#FFFFFF14.181.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C70
Deuteranopia (green-blind)
#00296C
Tritanopia (blue-blind)
#1E2F41
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #33166e;
/* rgb */ color: rgb(51, 22, 110);
/* oklch */ color: oklch(30.5% 0.140 290.6);
Tailwind
colors: {
  custom: {
    50: '#725798',
    500: '#33166e',
    950: '#000000',
  },
}
SCSS
$custom: #33166e;
$custom-light: #725798;
$custom-dark: #000000;
JSON
{
  "hex": "#33166e",
  "rgb": {
    "r": 51,
    "g": 22,
    "b": 110
  },
  "hsl": {
    "h": 259.773,
    "s": 66.667,
    "l": 25.882
  },
  "oklch": {
    "l": 0.30486,
    "c": 0.13975,
    "h": 290.6
  },
  "luminance": 0.02403
}

Semantic roles & 50–950 ramp

primary
#33166E
secondary
#82A43C
accent
#EA3EB1
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08030E
muted
#7B787E

Preview Lab

Preview with #33166E

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

Preview Lab → · Contrast checker → · Palette generator →

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