#33146A#33146A

#33146A is a dark, vivid violet. Relative luminance 0.022; OKLCH L 29.8% C 0.137 H 292.4°. Best body text is #FFFFFF at 14.49:1 contrast (WCAG AA passes).

Color values

HEX#33146A
RGBrgb(51, 20, 106)
HSLhsl(262, 68%, 25%)
HSVhsv(262, 81%, 42%)
CMYKcmyk(51.9%, 81.1%, 0%, 58.4%)
CIE-LABlab(16.72, 35.95, -44.15)
CIE-LCHlch(16.72, 56.94, 309.16°)
OKLaboklab(29.84% 0.0522 -0.1268)
OKLCHoklch(29.84% 0.137 292.4)
XYZxyz(4.2162, 2.2446, 13.8440)
Luminance0.0225 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#33146A #4B6A14
analogous
#14206A #33146A #5E146A
triadic
#33146A #6A3314 #146A33
tetradic
#33146A #6A1420 #4B6A14 #146A5E
square
#33146A #6A1420 #4B6A14 #146A5E
split-complementary
#33146A #6A5E14 #206A14
monochromatic
#0C051A #1A0A37 #33146A #4C1E9D #6527D1

Accessibility & contrast

On white

14.49
#33146A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#33146A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #33146A
14.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##33146A#FFFFFF#000000##FFFFFF
##33146A1.0014.491.4514.49
#FFFFFF14.491.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A6C
Deuteranopia (green-blind)
#002868
Tritanopia (blue-blind)
#212C3E
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #33146a;
/* rgb */ color: rgb(51, 20, 106);
/* oklch */ color: oklch(29.8% 0.137 292.4);
Tailwind
colors: {
  custom: {
    50: '#715695',
    500: '#33146a',
    950: '#000000',
  },
}
SCSS
$custom: #33146a;
$custom-light: #715695;
$custom-dark: #000000;
JSON
{
  "hex": "#33146a",
  "rgb": {
    "r": 51,
    "g": 20,
    "b": 106
  },
  "hsl": {
    "h": 261.628,
    "s": 68.254,
    "l": 24.706
  },
  "oklch": {
    "l": 0.29836,
    "c": 0.13707,
    "h": 292.4
  },
  "luminance": 0.02245
}

Semantic roles & 50–950 ramp

primary
#33146A
secondary
#7BA139
accent
#EB3DAC
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08030D
muted
#7B787E

Preview Lab

Preview with #33146A

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

Preview Lab → · Contrast checker → · Palette generator →

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