#33145F#33145F

#33145F is a dark, vivid violet. Relative luminance 0.020; OKLCH L 28.7% C 0.124 H 296.6°. Best body text is #FFFFFF at 14.94:1 contrast (WCAG AA passes).

Color values

HEX#33145F
RGBrgb(51, 20, 95)
HSLhsl(265, 65%, 23%)
HSVhsv(265, 79%, 37%)
CMYKcmyk(46.3%, 78.9%, 0%, 62.7%)
CIE-LABlab(15.65, 32.75, -38.65)
CIE-LCHlch(15.65, 50.66, 310.28°)
OKLaboklab(28.75% 0.0553 -0.1106)
OKLCHoklch(28.75% 0.124 296.6)
XYZxyz(3.6804, 2.0303, 11.0222)
Luminance0.0203 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#33145F #405F14
analogous
#141B5F #33145F #58145F
triadic
#33145F #5F3314 #145F33
tetradic
#33145F #5F141B #405F14 #145F58
square
#33145F #5F141B #405F14 #145F58
split-complementary
#33145F #5F5814 #1B5F14
monochromatic
#0E0519 #18092C #33145F #4E1F92 #6929C4

Accessibility & contrast

On white

14.94
#33145F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#33145F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #33145F
14.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##33145F#FFFFFF#000000##FFFFFF
##33145F1.0014.941.4114.94
#FFFFFF14.941.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002761
Deuteranopia (green-blind)
#00265E
Tritanopia (blue-blind)
#272838
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #33145f;
/* rgb */ color: rgb(51, 20, 95);
/* oklch */ color: oklch(28.7% 0.124 296.6);
Tailwind
colors: {
  custom: {
    50: '#70558d',
    500: '#33145f',
    950: '#000000',
  },
}
SCSS
$custom: #33145f;
$custom-light: #70558d;
$custom-dark: #000000;
JSON
{
  "hex": "#33145f",
  "rgb": {
    "r": 51,
    "g": 20,
    "b": 95
  },
  "hsl": {
    "h": 264.8,
    "s": 65.217,
    "l": 22.549
  },
  "oklch": {
    "l": 0.2875,
    "c": 0.12369,
    "h": 296.6
  },
  "luminance": 0.0203
}

Semantic roles & 50–950 ramp

primary
#33145F
secondary
#709738
accent
#E840A3
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#08030C
muted
#7B787D

Preview Lab

Preview with #33145F

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

Preview Lab → · Contrast checker → · Palette generator →

#33145F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva