#33165E#33165E

#33165E is a dark, moderate violet. Relative luminance 0.021; OKLCH L 28.9% C 0.120 H 296.5°. Best body text is #FFFFFF at 14.82:1 contrast (WCAG AA passes).

Color values

HEX#33165E
RGBrgb(51, 22, 94)
HSLhsl(264, 62%, 23%)
HSVhsv(264, 77%, 37%)
CMYKcmyk(45.7%, 76.6%, 0%, 63.1%)
CIE-LABlab(15.93, 31.40, -37.52)
CIE-LCHlch(15.93, 48.92, 309.92°)
OKLaboklab(28.92% 0.0535 -0.1073)
OKLCHoklch(28.92% 0.12 296.5)
XYZxyz(3.6720, 2.0857, 10.7966)
Luminance0.0209 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#33165E #415E16
analogous
#161D5E #33165E #57165E
triadic
#33165E #5E3316 #165E33
tetradic
#33165E #5E161D #415E16 #165E57
square
#33165E #5E161D #415E16 #165E57
split-complementary
#33165E #5E5716 #1D5E16
monochromatic
#0D0619 #180A2C #33165E #4E2290 #692DC1

Accessibility & contrast

On white

14.82
#33165E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#33165E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #33165E
14.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##33165E#FFFFFF#000000##FFFFFF
##33165E1.0014.821.4214.82
#FFFFFF14.821.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002860
Deuteranopia (green-blind)
#00275D
Tritanopia (blue-blind)
#282838
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #33165e;
/* rgb */ color: rgb(51, 22, 94);
/* oklch */ color: oklch(28.9% 0.120 296.5);
Tailwind
colors: {
  custom: {
    50: '#6f568c',
    500: '#33165e',
    950: '#000000',
  },
}
SCSS
$custom: #33165e;
$custom-light: #6f568c;
$custom-dark: #000000;
JSON
{
  "hex": "#33165e",
  "rgb": {
    "r": 51,
    "g": 22,
    "b": 94
  },
  "hsl": {
    "h": 264.167,
    "s": 62.069,
    "l": 22.745
  },
  "oklch": {
    "l": 0.28923,
    "c": 0.11991,
    "h": 296.5
  },
  "luminance": 0.02086
}

Semantic roles & 50–950 ramp

primary
#33165E
secondary
#71953B
accent
#E543A4
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#08030C
muted
#7B787D

Preview Lab

Preview with #33165E

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

Preview Lab → · Contrast checker → · Palette generator →

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