#33165B#33165B

#33165B is a dark, moderate violet. Relative luminance 0.020; OKLCH L 28.6% C 0.116 H 297.8°. Best body text is #FFFFFF at 14.93:1 contrast (WCAG AA passes).

Color values

HEX#33165B
RGBrgb(51, 22, 91)
HSLhsl(265, 61%, 22%)
HSVhsv(265, 76%, 36%)
CMYKcmyk(44%, 75.8%, 0%, 64.3%)
CIE-LABlab(15.66, 30.52, -35.95)
CIE-LCHlch(15.66, 47.16, 310.32°)
OKLaboklab(28.65% 0.0542 -0.1027)
OKLCHoklch(28.65% 0.116 297.8)
XYZxyz(3.5400, 2.0329, 10.1014)
Luminance0.0203 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#33165B #3E5B16
analogous
#161C5B #33165B #56165B
triadic
#33165B #5B3316 #165B33
tetradic
#33165B #5B161C #3E5B16 #165B56
square
#33165B #5B161C #3E5B16 #165B56
split-complementary
#33165B #5B5616 #1C5B16
monochromatic
#0E0619 #170A2A #33165B #4F228C #6A2EBE

Accessibility & contrast

On white

14.93
#33165B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #33165B
14.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##33165B#FFFFFF#000000##FFFFFF
##33165B1.0014.931.4114.93
#FFFFFF14.931.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00275D
Deuteranopia (green-blind)
#00265A
Tritanopia (blue-blind)
#292736
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #33165b;
/* rgb */ color: rgb(51, 22, 91);
/* oklch */ color: oklch(28.6% 0.116 297.8);
Tailwind
colors: {
  custom: {
    50: '#6f568a',
    500: '#33165b',
    950: '#000000',
  },
}
SCSS
$custom: #33165b;
$custom-light: #6f568a;
$custom-dark: #000000;
JSON
{
  "hex": "#33165b",
  "rgb": {
    "r": 51,
    "g": 22,
    "b": 91
  },
  "hsl": {
    "h": 265.217,
    "s": 61.062,
    "l": 22.157
  },
  "oklch": {
    "l": 0.28645,
    "c": 0.11611,
    "h": 297.8
  },
  "luminance": 0.02033
}

Semantic roles & 50–950 ramp

primary
#33165B
secondary
#6D923B
accent
#E444A1
background
#F6F5F8
surface
#ECE9F0
border
#C7C5CB
text
#08030C
muted
#7B787D

Preview Lab

Preview with #33165B

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

Preview Lab → · Contrast checker → · Palette generator →

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