#33256A#33256A

#33256A is a dark, moderate violet. Relative luminance 0.031; OKLCH L 32.4% C 0.115 H 287.5°. Best body text is #FFFFFF at 13.01:1 contrast (WCAG AA passes).

Color values

HEX#33256A
RGBrgb(51, 37, 106)
HSLhsl(252, 48%, 28%)
HSVhsv(252, 65%, 42%)
CMYKcmyk(51.9%, 65.1%, 0%, 58.4%)
CIE-LABlab(20.31, 26.06, -38.29)
CIE-LCHlch(20.31, 46.32, 304.24°)
OKLaboklab(32.4% 0.0346 -0.1096)
OKLCHoklch(32.4% 0.115 287.5)
XYZxyz(4.6276, 3.0673, 13.9811)
Luminance0.0307 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#33256A #5C6A25
analogous
#25396A #33256A #55256A
triadic
#33256A #6A3325 #256A33
tetradic
#33256A #6A2539 #5C6A25 #256A55
square
#33256A #6A2539 #5C6A25 #256A55
split-complementary
#33256A #6A5525 #396A25
monochromatic
#0B0817 #1D153D #33256A #493597 #624AC0

Accessibility & contrast

On white

13.01
#33256A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#33256A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #33256A
13.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##33256A#FFFFFF#000000##FFFFFF
##33256A1.0013.011.6113.01
#FFFFFF13.011.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00336C
Deuteranopia (green-blind)
#002F69
Tritanopia (blue-blind)
#203543
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #33256a;
/* rgb */ color: rgb(51, 37, 106);
/* oklch */ color: oklch(32.4% 0.115 287.5);
Tailwind
colors: {
  custom: {
    50: '#706095',
    500: '#33256a',
    950: '#000000',
  },
}
SCSS
$custom: #33256a;
$custom-light: #706095;
$custom-dark: #000000;
JSON
{
  "hex": "#33256a",
  "rgb": {
    "r": 51,
    "g": 37,
    "b": 106
  },
  "hsl": {
    "h": 252.174,
    "s": 48.252,
    "l": 28.039
  },
  "oklch": {
    "l": 0.32403,
    "c": 0.11495,
    "h": 287.5
  },
  "luminance": 0.03068
}

Semantic roles & 50–950 ramp

primary
#33256A
secondary
#8D9D4E
accent
#D850BC
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08050D
muted
#7B797E

Preview Lab

Preview with #33256A

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

Preview Lab → · Contrast checker → · Palette generator →

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