#33266A#33266A

#33266A is a dark, moderate violet. Relative luminance 0.031; OKLCH L 32.6% C 0.113 H 287.1°. Best body text is #FFFFFF at 12.91:1 contrast (WCAG AA passes).

Color values

HEX#33266A
RGBrgb(51, 38, 106)
HSLhsl(251, 47%, 28%)
HSVhsv(251, 64%, 42%)
CMYKcmyk(51.9%, 64.2%, 0%, 58.4%)
CIE-LABlab(20.56, 25.41, -37.89)
CIE-LCHlch(20.56, 45.62, 303.84°)
OKLaboklab(32.58% 0.0334 -0.1084)
OKLCHoklch(32.58% 0.113 287.1)
XYZxyz(4.6591, 3.1304, 13.9916)
Luminance0.0313 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#33266A #5D6A26
analogous
#263B6A #33266A #55266A
triadic
#33266A #6A3326 #266A33
tetradic
#33266A #6A263B #5D6A26 #266A55
square
#33266A #6A263B #5D6A26 #266A55
split-complementary
#33266A #6A5526 #3B6A26
monochromatic
#0B0817 #1D163D #33266A #493697 #624CBF

Accessibility & contrast

On white

12.91
#33266A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#33266A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #33266A
12.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##33266A#FFFFFF#000000##FFFFFF
##33266A1.0012.911.6312.91
#FFFFFF12.911.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00336C
Deuteranopia (green-blind)
#003069
Tritanopia (blue-blind)
#203644
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #33266a;
/* rgb */ color: rgb(51, 38, 106);
/* oklch */ color: oklch(32.6% 0.113 287.1);
Tailwind
colors: {
  custom: {
    50: '#706195',
    500: '#33266a',
    950: '#000000',
  },
}
SCSS
$custom: #33266a;
$custom-light: #706195;
$custom-dark: #000000;
JSON
{
  "hex": "#33266a",
  "rgb": {
    "r": 51,
    "g": 38,
    "b": 106
  },
  "hsl": {
    "h": 251.471,
    "s": 47.222,
    "l": 28.235
  },
  "oklch": {
    "l": 0.32584,
    "c": 0.11346,
    "h": 287.1
  },
  "luminance": 0.03131
}

Semantic roles & 50–950 ramp

primary
#33266A
secondary
#8E9D4F
accent
#D751BD
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08050D
muted
#7B797E

Preview Lab

Preview with #33266A

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

Preview Lab → · Contrast checker → · Palette generator →

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