#33236A#33236A

#33236A is a dark, moderate violet. Relative luminance 0.029; OKLCH L 32.0% C 0.118 H 288.3°. Best body text is #FFFFFF at 13.21:1 contrast (WCAG AA passes).

Color values

HEX#33236A
RGBrgb(51, 35, 106)
HSLhsl(254, 50%, 28%)
HSVhsv(254, 67%, 42%)
CMYKcmyk(51.9%, 67%, 0%, 58.4%)
CIE-LABlab(19.83, 27.35, -39.08)
CIE-LCHlch(19.83, 47.70, 304.98°)
OKLaboklab(32.05% 0.0369 -0.1119)
OKLCHoklch(32.05% 0.118 288.3)
XYZxyz(4.5670, 2.9463, 13.9609)
Luminance0.0295 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#33236A #5A6A23
analogous
#23366A #33236A #56236A
triadic
#33236A #6A3323 #236A33
tetradic
#33236A #6A2336 #5A6A23 #236A56
square
#33236A #6A2336 #5A6A23 #236A56
split-complementary
#33236A #6A5623 #366A23
monochromatic
#0B0817 #1D143C #33236A #493298 #6246C2

Accessibility & contrast

On white

13.21
#33236A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#33236A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #33236A
13.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##33236A#FFFFFF#000000##FFFFFF
##33236A1.0013.211.5913.21
#FFFFFF13.211.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00326C
Deuteranopia (green-blind)
#002E69
Tritanopia (blue-blind)
#203443
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #33236a;
/* rgb */ color: rgb(51, 35, 106);
/* oklch */ color: oklch(32.0% 0.118 288.3);
Tailwind
colors: {
  custom: {
    50: '#705f95',
    500: '#33236a',
    950: '#000000',
  },
}
SCSS
$custom: #33236a;
$custom-light: #705f95;
$custom-dark: #000000;
JSON
{
  "hex": "#33236a",
  "rgb": {
    "r": 51,
    "g": 35,
    "b": 106
  },
  "hsl": {
    "h": 253.521,
    "s": 50.355,
    "l": 27.647
  },
  "oklch": {
    "l": 0.3205,
    "c": 0.11786,
    "h": 288.3
  },
  "luminance": 0.02946
}

Semantic roles & 50–950 ramp

primary
#33236A
secondary
#8B9D4B
accent
#DA4EBA
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08040D
muted
#7B797E

Preview Lab

Preview with #33236A

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

Preview Lab → · Contrast checker → · Palette generator →

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