#33105A#33105A

#33105A is a dark, vivid violet. Relative luminance 0.018; OKLCH L 27.8% C 0.122 H 299.7°. Best body text is #FFFFFF at 15.41:1 contrast (WCAG AA passes).

Color values

HEX#33105A
RGBrgb(51, 16, 90)
HSLhsl(268, 70%, 21%)
HSVhsv(268, 82%, 35%)
CMYKcmyk(43.3%, 82.2%, 0%, 64.7%)
CIE-LABlab(14.47, 33.33, -37.22)
CIE-LCHlch(14.47, 49.97, 311.85°)
OKLaboklab(27.78% 0.0607 -0.1064)
OKLCHoklch(27.78% 0.122 299.7)
XYZxyz(3.3955, 1.8125, 9.8418)
Luminance0.0181 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#33105A #375A10
analogous
#10125A #33105A #58105A
triadic
#33105A #5A3310 #105A33
tetradic
#33105A #5A1012 #375A10 #105A58
square
#33105A #5A1012 #375A10 #105A58
split-complementary
#33105A #5A5810 #125A10
monochromatic
#0F051A #160726 #33105A #50198E #6E22C2

Accessibility & contrast

On white

15.41
#33105A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#33105A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #33105A
15.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##33105A#FFFFFF#000000##FFFFFF
##33105A1.0015.411.3615.41
#FFFFFF15.411.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00245C
Deuteranopia (green-blind)
#002459
Tritanopia (blue-blind)
#2A2434
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #33105a;
/* rgb */ color: rgb(51, 16, 90);
/* oklch */ color: oklch(27.8% 0.122 299.7);
Tailwind
colors: {
  custom: {
    50: '#6f5389',
    500: '#33105a',
    950: '#000000',
  },
}
SCSS
$custom: #33105a;
$custom-light: #6f5389;
$custom-dark: #000000;
JSON
{
  "hex": "#33105a",
  "rgb": {
    "r": 51,
    "g": 16,
    "b": 90
  },
  "hsl": {
    "h": 268.378,
    "s": 69.811,
    "l": 20.784
  },
  "oklch": {
    "l": 0.27777,
    "c": 0.12248,
    "h": 299.7
  },
  "luminance": 0.01813
}

Semantic roles & 50–950 ramp

primary
#33105A
secondary
#669333
accent
#ED3B99
background
#F7F4F8
surface
#EDE7F0
border
#C8C3CB
text
#08020C
muted
#7B787D

Preview Lab

Preview with #33105A

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

Preview Lab → · Contrast checker → · Palette generator →

#33105A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva