#33256D#33256D

#33256D is a dark, moderate violet. Relative luminance 0.031; OKLCH L 32.7% C 0.119 H 286.7°. Best body text is #FFFFFF at 12.91:1 contrast (WCAG AA passes).

Color values

HEX#33256D
RGBrgb(51, 37, 109)
HSLhsl(252, 49%, 29%)
HSVhsv(252, 66%, 43%)
CMYKcmyk(53.2%, 66.1%, 0%, 57.3%)
CIE-LABlab(20.56, 27.05, -39.84)
CIE-LCHlch(20.56, 48.15, 304.18°)
OKLaboklab(32.66% 0.0344 -0.1141)
OKLCHoklch(32.66% 0.119 286.7)
XYZxyz(4.7863, 3.1308, 14.8171)
Luminance0.0313 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#33256D #5F6D25
analogous
#253B6D #33256D #57256D
triadic
#33256D #6D3325 #256D33
tetradic
#33256D #6D253B #5F6D25 #256D57
square
#33256D #6D253B #5F6D25 #256D57
split-complementary
#33256D #6D5725 #3B6D25
monochromatic
#0B0817 #1E153F #33256D #48359B #624BC2

Accessibility & contrast

On white

12.91
#33256D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#33256D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #33256D
12.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##33256D#FFFFFF#000000##FFFFFF
##33256D1.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)
#00336F
Deuteranopia (green-blind)
#002F6C
Tritanopia (blue-blind)
#1E3645
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #33256d;
/* rgb */ color: rgb(51, 37, 109);
/* oklch */ color: oklch(32.7% 0.119 286.7);
Tailwind
colors: {
  custom: {
    50: '#706097',
    500: '#33256d',
    950: '#000000',
  },
}
SCSS
$custom: #33256d;
$custom-light: #706097;
$custom-dark: #000000;
JSON
{
  "hex": "#33256d",
  "rgb": {
    "r": 51,
    "g": 37,
    "b": 109
  },
  "hsl": {
    "h": 251.667,
    "s": 49.315,
    "l": 28.627
  },
  "oklch": {
    "l": 0.32663,
    "c": 0.11921,
    "h": 286.7
  },
  "luminance": 0.03131
}

Semantic roles & 50–950 ramp

primary
#33256D
secondary
#90A04E
accent
#D94FBE
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08050E
muted
#7B797E

Preview Lab

Preview with #33256D

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

Preview Lab → · Contrast checker → · Palette generator →

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