#33165D#33165D

#33165D is a dark, moderate violet. Relative luminance 0.021; OKLCH L 28.8% C 0.119 H 296.9°. Best body text is #FFFFFF at 14.86:1 contrast (WCAG AA passes).

Color values

HEX#33165D
RGBrgb(51, 22, 93)
HSLhsl(265, 62%, 23%)
HSVhsv(265, 76%, 36%)
CMYKcmyk(45.2%, 76.3%, 0%, 63.5%)
CIE-LABlab(15.84, 31.10, -37.00)
CIE-LCHlch(15.84, 48.33, 310.05°)
OKLaboklab(28.83% 0.0537 -0.1058)
OKLCHoklch(28.83% 0.119 296.9)
XYZxyz(3.6274, 2.0679, 10.5618)
Luminance0.0207 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#33165D #405D16
analogous
#161D5D #33165D #56165D
triadic
#33165D #5D3316 #165D33
tetradic
#33165D #5D161D #405D16 #165D56
square
#33165D #5D161D #405D16 #165D56
split-complementary
#33165D #5D5616 #1D5D16
monochromatic
#0E0619 #180A2C #33165D #4E228E #692DC0

Accessibility & contrast

On white

14.86
#33165D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#33165D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #33165D
14.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##33165D#FFFFFF#000000##FFFFFF
##33165D1.0014.861.4114.86
#FFFFFF14.861.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00285F
Deuteranopia (green-blind)
#00275C
Tritanopia (blue-blind)
#282838
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #33165d;
/* rgb */ color: rgb(51, 22, 93);
/* oklch */ color: oklch(28.8% 0.119 296.9);
Tailwind
colors: {
  custom: {
    50: '#6f568c',
    500: '#33165d',
    950: '#000000',
  },
}
SCSS
$custom: #33165d;
$custom-light: #6f568c;
$custom-dark: #000000;
JSON
{
  "hex": "#33165d",
  "rgb": {
    "r": 51,
    "g": 22,
    "b": 93
  },
  "hsl": {
    "h": 264.507,
    "s": 61.739,
    "l": 22.549
  },
  "oklch": {
    "l": 0.28829,
    "c": 0.11864,
    "h": 296.9
  },
  "luminance": 0.02068
}

Semantic roles & 50–950 ramp

primary
#33165D
secondary
#70943B
accent
#E543A3
background
#F6F5F8
surface
#ECE9F0
border
#C7C5CB
text
#08030C
muted
#7B787D

Preview Lab

Preview with #33165D

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

Preview Lab → · Contrast checker → · Palette generator →

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