#33145A#33145A

#33145A is a dark, moderate violet. Relative luminance 0.019; OKLCH L 28.3% C 0.118 H 298.8°. Best body text is #FFFFFF at 15.13:1 contrast (WCAG AA passes).

Color values

HEX#33145A
RGBrgb(51, 20, 90)
HSLhsl(267, 64%, 22%)
HSVhsv(267, 78%, 35%)
CMYKcmyk(43.3%, 77.8%, 0%, 64.7%)
CIE-LABlab(15.18, 31.31, -36.06)
CIE-LCHlch(15.18, 47.76, 310.97°)
OKLaboklab(28.28% 0.0566 -0.103)
OKLCHoklch(28.28% 0.118 298.8)
XYZxyz(3.4604, 1.9423, 9.8635)
Luminance0.0194 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#33145A #3B5A14
analogous
#14185A #33145A #56145A
triadic
#33145A #5A3314 #145A33
tetradic
#33145A #5A1418 #3B5A14 #145A56
square
#33145A #5A1418 #3B5A14 #145A56
split-complementary
#33145A #5A5614 #185A14
monochromatic
#0E0619 #170928 #33145A #4F1F8C #6C2ABE

Accessibility & contrast

On white

15.13
#33145A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#33145A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #33145A
15.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##33145A#FFFFFF#000000##FFFFFF
##33145A1.0015.131.3915.13
#FFFFFF15.131.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00265C
Deuteranopia (green-blind)
#002559
Tritanopia (blue-blind)
#2A2635
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #33145a;
/* rgb */ color: rgb(51, 20, 90);
/* oklch */ color: oklch(28.3% 0.118 298.8);
Tailwind
colors: {
  custom: {
    50: '#6f5589',
    500: '#33145a',
    950: '#000000',
  },
}
SCSS
$custom: #33145a;
$custom-light: #6f5589;
$custom-dark: #000000;
JSON
{
  "hex": "#33145a",
  "rgb": {
    "r": 51,
    "g": 20,
    "b": 90
  },
  "hsl": {
    "h": 266.571,
    "s": 63.636,
    "l": 21.569
  },
  "oklch": {
    "l": 0.28278,
    "c": 0.11753,
    "h": 298.8
  },
  "luminance": 0.01942
}

Semantic roles & 50–950 ramp

primary
#33145A
secondary
#6A9238
accent
#E7419D
background
#F6F5F8
surface
#ECE9F0
border
#C7C5CB
text
#08030C
muted
#7B787D

Preview Lab

Preview with #33145A

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

Preview Lab → · Contrast checker → · Palette generator →

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