#33165C#33165C

#33165C is a dark, moderate violet. Relative luminance 0.021; OKLCH L 28.7% C 0.117 H 297.4°. Best body text is #FFFFFF at 14.89:1 contrast (WCAG AA passes).

Color values

HEX#33165C
RGBrgb(51, 22, 92)
HSLhsl(265, 61%, 22%)
HSVhsv(265, 76%, 36%)
CMYKcmyk(44.6%, 76.1%, 0%, 63.9%)
CIE-LABlab(15.75, 30.81, -36.48)
CIE-LCHlch(15.75, 47.75, 310.18°)
OKLaboklab(28.74% 0.054 -0.1042)
OKLCHoklch(28.74% 0.117 297.4)
XYZxyz(3.5834, 2.0503, 10.3301)
Luminance0.0205 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#33165C #3F5C16
analogous
#161C5C #33165C #56165C
triadic
#33165C #5C3316 #165C33
tetradic
#33165C #5C161C #3F5C16 #165C56
square
#33165C #5C161C #3F5C16 #165C56
split-complementary
#33165C #5C5616 #1C5C16
monochromatic
#0E0619 #180A2B #33165C #4E228D #6A2EBF

Accessibility & contrast

On white

14.89
#33165C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #33165C
14.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##33165C#FFFFFF#000000##FFFFFF
##33165C1.0014.891.4114.89
#FFFFFF14.891.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00275E
Deuteranopia (green-blind)
#00265B
Tritanopia (blue-blind)
#292737
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #33165c;
/* rgb */ color: rgb(51, 22, 92);
/* oklch */ color: oklch(28.7% 0.117 297.4);
Tailwind
colors: {
  custom: {
    50: '#6f568b',
    500: '#33165c',
    950: '#000000',
  },
}
SCSS
$custom: #33165c;
$custom-light: #6f568b;
$custom-dark: #000000;
JSON
{
  "hex": "#33165c",
  "rgb": {
    "r": 51,
    "g": 22,
    "b": 92
  },
  "hsl": {
    "h": 264.857,
    "s": 61.404,
    "l": 22.353
  },
  "oklch": {
    "l": 0.28737,
    "c": 0.11738,
    "h": 297.4
  },
  "luminance": 0.0205
}

Semantic roles & 50–950 ramp

primary
#33165C
secondary
#6E933B
accent
#E543A2
background
#F6F5F8
surface
#ECE9F0
border
#C7C5CB
text
#08030C
muted
#7B787D

Preview Lab

Preview with #33165C

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

Preview Lab → · Contrast checker → · Palette generator →

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