#33285B#33285B

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

Color values

HEX#33285B
RGBrgb(51, 40, 91)
HSLhsl(253, 39%, 26%)
HSVhsv(253, 56%, 36%)
CMYKcmyk(44%, 56%, 0%, 64.3%)
CIE-LABlab(19.95, 19.13, -29.02)
CIE-LCHlch(19.95, 34.76, 303.39°)
OKLaboklab(31.77% 0.0307 -0.0824)
OKLCHoklch(31.77% 0.088 290.4)
XYZxyz(4.0118, 2.9766, 10.2587)
Luminance0.0298 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#33285B #505B28
analogous
#28365B #33285B #4C285B
triadic
#33285B #5B3328 #285B33
tetradic
#33285B #5B2836 #505B28 #285B4C
square
#33285B #5B2836 #505B28 #285B4C
split-complementary
#33285B #5B4C28 #365B28
monochromatic
#0C0915 #1B1530 #33285B #4B3B86 #634DB0

Accessibility & contrast

On white

13.16
#33285B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #33285B
13.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##33285B#FFFFFF#000000##FFFFFF
##33285B1.0013.161.6013.16
#FFFFFF13.161.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#12315D
Deuteranopia (green-blind)
#132F5A
Tritanopia (blue-blind)
#28333D
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #33285b;
/* rgb */ color: rgb(51, 40, 91);
/* oklch */ color: oklch(31.8% 0.088 290.4);
Tailwind
colors: {
  custom: {
    50: '#6d628a',
    500: '#33285b',
    950: '#000000',
  },
}
SCSS
$custom: #33285b;
$custom-light: #6d628a;
$custom-dark: #000000;
JSON
{
  "hex": "#33285b",
  "rgb": {
    "r": 51,
    "g": 40,
    "b": 91
  },
  "hsl": {
    "h": 252.941,
    "s": 38.931,
    "l": 25.686
  },
  "oklch": {
    "l": 0.31774,
    "c": 0.08788,
    "h": 290.4
  },
  "luminance": 0.02977
}

Semantic roles & 50–950 ramp

primary
#33285B
secondary
#818E51
accent
#CF59B5
background
#F6F5F8
surface
#ECEAF0
border
#C7C6CB
text
#07050B
muted
#7A797C

Preview Lab

Preview with #33285B

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

Preview Lab → · Contrast checker → · Palette generator →

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