#33125A#33125A

#33125A is a dark, vivid violet. Relative luminance 0.019; OKLCH L 28.0% C 0.120 H 299.3°. Best body text is #FFFFFF at 15.27:1 contrast (WCAG AA passes).

Color values

HEX#33125A
RGBrgb(51, 18, 90)
HSLhsl(268, 67%, 21%)
HSVhsv(268, 80%, 35%)
CMYKcmyk(43.3%, 80%, 0%, 64.7%)
CIE-LABlab(14.81, 32.35, -36.66)
CIE-LCHlch(14.81, 48.89, 311.43°)
OKLaboklab(28.02% 0.0587 -0.1048)
OKLCHoklch(28.02% 0.12 299.3)
XYZxyz(3.4265, 1.8746, 9.8522)
Luminance0.0187 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#33125A #395A12
analogous
#12155A #33125A #57125A
triadic
#33125A #5A3312 #125A33
tetradic
#33125A #5A1215 #395A12 #125A57
square
#33125A #5A1215 #395A12 #125A57
split-complementary
#33125A #5A5712 #155A12
monochromatic
#0E051A #160827 #33125A #501C8D #6D26C0

Accessibility & contrast

On white

15.27
#33125A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#33125A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #33125A
15.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##33125A#FFFFFF#000000##FFFFFF
##33125A1.0015.271.3815.27
#FFFFFF15.271.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00255C
Deuteranopia (green-blind)
#002559
Tritanopia (blue-blind)
#2A2535
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #33125a;
/* rgb */ color: rgb(51, 18, 90);
/* oklch */ color: oklch(28.0% 0.120 299.3);
Tailwind
colors: {
  custom: {
    50: '#6f5489',
    500: '#33125a',
    950: '#000000',
  },
}
SCSS
$custom: #33125a;
$custom-light: #6f5489;
$custom-dark: #000000;
JSON
{
  "hex": "#33125a",
  "rgb": {
    "r": 51,
    "g": 18,
    "b": 90
  },
  "hsl": {
    "h": 267.5,
    "s": 66.667,
    "l": 21.176
  },
  "oklch": {
    "l": 0.28019,
    "c": 0.12008,
    "h": 299.3
  },
  "luminance": 0.01875
}

Semantic roles & 50–950 ramp

primary
#33125A
secondary
#689335
accent
#EA3E9B
background
#F6F4F8
surface
#ECE7F0
border
#C7C3CB
text
#08030C
muted
#7B787D

Preview Lab

Preview with #33125A

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

Preview Lab → · Contrast checker → · Palette generator →

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