#33285C#33285C

#33285C is a dark, moderate violet. Relative luminance 0.030; OKLCH L 31.8% C 0.089 H 290.1°. Best body text is #FFFFFF at 13.13:1 contrast (WCAG AA passes).

Color values

HEX#33285C
RGBrgb(51, 40, 92)
HSLhsl(253, 39%, 26%)
HSVhsv(253, 57%, 36%)
CMYKcmyk(44.6%, 56.5%, 0%, 63.9%)
CIE-LABlab(20.02, 19.46, -29.57)
CIE-LCHlch(20.02, 35.40, 303.34°)
OKLaboklab(31.85% 0.0308 -0.084)
OKLCHoklch(31.85% 0.089 290.1)
XYZxyz(4.0553, 2.9940, 10.4874)
Luminance0.0299 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#33285C #515C28
analogous
#28375C #33285C #4D285C
triadic
#33285C #5C3328 #285C33
tetradic
#33285C #5C2837 #515C28 #285C4D
square
#33285C #5C2837 #515C28 #285C4D
split-complementary
#33285C #5C4D28 #375C28
monochromatic
#0C0915 #1B1531 #33285C #4B3B87 #624DB1

Accessibility & contrast

On white

13.13
#33285C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#33285C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #33285C
13.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##33285C#FFFFFF#000000##FFFFFF
##33285C1.0013.131.6013.13
#FFFFFF13.131.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#11315E
Deuteranopia (green-blind)
#122F5B
Tritanopia (blue-blind)
#28333D
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #33285c;
/* rgb */ color: rgb(51, 40, 92);
/* oklch */ color: oklch(31.8% 0.089 290.1);
Tailwind
colors: {
  custom: {
    50: '#6e628a',
    500: '#33285c',
    950: '#000000',
  },
}
SCSS
$custom: #33285c;
$custom-light: #6e628a;
$custom-dark: #000000;
JSON
{
  "hex": "#33285c",
  "rgb": {
    "r": 51,
    "g": 40,
    "b": 92
  },
  "hsl": {
    "h": 252.692,
    "s": 39.394,
    "l": 25.882
  },
  "oklch": {
    "l": 0.31848,
    "c": 0.08942,
    "h": 290.1
  },
  "luminance": 0.02994
}

Semantic roles & 50–950 ramp

primary
#33285C
secondary
#828F51
accent
#CF59B6
background
#F6F5F8
surface
#ECEAF0
border
#C7C6CB
text
#07050C
muted
#7A797D

Preview Lab

Preview with #33285C

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

Preview Lab → · Contrast checker → · Palette generator →

#33285C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva