#33146C#33146C

#33146C is a dark, vivid violet. Relative luminance 0.023; OKLCH L 30.0% C 0.139 H 291.7°. Best body text is #FFFFFF at 14.41:1 contrast (WCAG AA passes).

Color values

HEX#33146C
RGBrgb(51, 20, 108)
HSLhsl(261, 69%, 25%)
HSVhsv(261, 81%, 42%)
CMYKcmyk(52.8%, 81.5%, 0%, 57.6%)
CIE-LABlab(16.93, 36.54, -45.13)
CIE-LCHlch(16.93, 58.06, 309.00°)
OKLaboklab(30.04% 0.0515 -0.1296)
OKLCHoklch(30.04% 0.139 291.7)
XYZxyz(4.3214, 2.2867, 14.3981)
Luminance0.0229 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#33146C #4D6C14
analogous
#14216C #33146C #5F146C
triadic
#33146C #6C3314 #146C33
tetradic
#33146C #6C1421 #4D6C14 #146C5F
square
#33146C #6C1421 #4D6C14 #146C5F
split-complementary
#33146C #6C5F14 #216C14
monochromatic
#0C051A #1B0A38 #33146C #4B1EA0 #6427D3

Accessibility & contrast

On white

14.41
#33146C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#33146C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #33146C
14.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##33146C#FFFFFF#000000##FFFFFF
##33146C1.0014.411.4614.41
#FFFFFF14.411.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B6E
Deuteranopia (green-blind)
#00286A
Tritanopia (blue-blind)
#202D40
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #33146c;
/* rgb */ color: rgb(51, 20, 108);
/* oklch */ color: oklch(30.0% 0.139 291.7);
Tailwind
colors: {
  custom: {
    50: '#725697',
    500: '#33146c',
    950: '#000000',
  },
}
SCSS
$custom: #33146c;
$custom-light: #725697;
$custom-dark: #000000;
JSON
{
  "hex": "#33146c",
  "rgb": {
    "r": 51,
    "g": 20,
    "b": 108
  },
  "hsl": {
    "h": 261.136,
    "s": 68.75,
    "l": 25.098
  },
  "oklch": {
    "l": 0.30039,
    "c": 0.13947,
    "h": 291.7
  },
  "luminance": 0.02287
}

Semantic roles & 50–950 ramp

primary
#33146C
secondary
#7EA339
accent
#EC3CAE
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08030E
muted
#7B787E

Preview Lab

Preview with #33146C

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

Preview Lab → · Contrast checker → · Palette generator →

#33146C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva