#33146B#33146B

#33146B is a dark, vivid violet. Relative luminance 0.023; OKLCH L 29.9% C 0.138 H 292.0°. Best body text is #FFFFFF at 14.45:1 contrast (WCAG AA passes).

Color values

HEX#33146B
RGBrgb(51, 20, 107)
HSLhsl(261, 69%, 25%)
HSVhsv(261, 81%, 42%)
CMYKcmyk(52.3%, 81.3%, 0%, 58%)
CIE-LABlab(16.82, 36.25, -44.64)
CIE-LCHlch(16.82, 57.50, 309.08°)
OKLaboklab(29.94% 0.0518 -0.1282)
OKLCHoklch(29.94% 0.138 292)
XYZxyz(4.2685, 2.2655, 14.1194)
Luminance0.0227 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#33146B #4C6B14
analogous
#14216B #33146B #5E146B
triadic
#33146B #6B3314 #146B33
tetradic
#33146B #6B1421 #4C6B14 #146B5E
square
#33146B #6B1421 #4C6B14 #146B5E
split-complementary
#33146B #6B5E14 #216B14
monochromatic
#0C051A #1A0A37 #33146B #4C1E9F #6427D2

Accessibility & contrast

On white

14.45
#33146B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #33146B
14.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##33146B#FFFFFF#000000##FFFFFF
##33146B1.0014.451.4514.45
#FFFFFF14.451.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B6D
Deuteranopia (green-blind)
#002869
Tritanopia (blue-blind)
#202C3F
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #33146b;
/* rgb */ color: rgb(51, 20, 107);
/* oklch */ color: oklch(29.9% 0.138 292.0);
Tailwind
colors: {
  custom: {
    50: '#725696',
    500: '#33146b',
    950: '#000000',
  },
}
SCSS
$custom: #33146b;
$custom-light: #725696;
$custom-dark: #000000;
JSON
{
  "hex": "#33146b",
  "rgb": {
    "r": 51,
    "g": 20,
    "b": 107
  },
  "hsl": {
    "h": 261.379,
    "s": 68.504,
    "l": 24.902
  },
  "oklch": {
    "l": 0.29937,
    "c": 0.13828,
    "h": 292
  },
  "luminance": 0.02266
}

Semantic roles & 50–950 ramp

primary
#33146B
secondary
#7CA239
accent
#EB3CAD
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08030D
muted
#7B787E

Preview Lab

Preview with #33146B

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

Preview Lab → · Contrast checker → · Palette generator →

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