#33145D#33145D

#33145D is a dark, vivid violet. Relative luminance 0.020; OKLCH L 28.6% C 0.121 H 297.4°. Best body text is #FFFFFF at 15.01:1 contrast (WCAG AA passes).

Color values

HEX#33145D
RGBrgb(51, 20, 93)
HSLhsl(265, 65%, 22%)
HSVhsv(265, 78%, 36%)
CMYKcmyk(45.2%, 78.5%, 0%, 63.5%)
CIE-LABlab(15.46, 32.18, -37.62)
CIE-LCHlch(15.46, 49.50, 310.54°)
OKLaboklab(28.56% 0.0559 -0.1076)
OKLCHoklch(28.56% 0.121 297.4)
XYZxyz(3.5907, 1.9944, 10.5496)
Luminance0.0199 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#33145D #3E5D14
analogous
#141A5D #33145D #58145D
triadic
#33145D #5D3314 #145D33
tetradic
#33145D #5D141A #3E5D14 #145D58
square
#33145D #5D141A #3E5D14 #145D58
split-complementary
#33145D #5D5814 #1A5D14
monochromatic
#0E0519 #17092B #33145D #4F1F8F #6A2AC2

Accessibility & contrast

On white

15.01
#33145D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#33145D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #33145D
15.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##33145D#FFFFFF#000000##FFFFFF
##33145D1.0015.011.4015.01
#FFFFFF15.011.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00275F
Deuteranopia (green-blind)
#00265C
Tritanopia (blue-blind)
#282737
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #33145d;
/* rgb */ color: rgb(51, 20, 93);
/* oklch */ color: oklch(28.6% 0.121 297.4);
Tailwind
colors: {
  custom: {
    50: '#6f558c',
    500: '#33145d',
    950: '#000000',
  },
}
SCSS
$custom: #33145d;
$custom-light: #6f558c;
$custom-dark: #000000;
JSON
{
  "hex": "#33145d",
  "rgb": {
    "r": 51,
    "g": 20,
    "b": 93
  },
  "hsl": {
    "h": 265.479,
    "s": 64.602,
    "l": 22.157
  },
  "oklch": {
    "l": 0.28559,
    "c": 0.12124,
    "h": 297.4
  },
  "luminance": 0.01994
}

Semantic roles & 50–950 ramp

primary
#33145D
secondary
#6D9538
accent
#E840A1
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#08030C
muted
#7B787D

Preview Lab

Preview with #33145D

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

Preview Lab → · Contrast checker → · Palette generator →

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