#330E41#330E41

#330E41 is a dark, moderate purple. Relative luminance 0.014; OKLCH L 25.3% C 0.096 H 315.1°. Best body text is #FFFFFF at 16.41:1 contrast (WCAG AA passes).

Color values

HEX#330E41
RGBrgb(51, 14, 65)
HSLhsl(284, 65%, 15%)
HSVhsv(284, 78%, 25%)
CMYKcmyk(21.5%, 78.5%, 0%, 74.5%)
CIE-LABlab(11.96, 27.73, -24.08)
CIE-LCHlch(11.96, 36.73, 319.03°)
OKLaboklab(25.32% 0.0681 -0.0678)
OKLCHoklch(25.32% 0.096 315.1)
XYZxyz(2.4763, 1.3996, 5.1397)
Luminance0.0140 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#330E41 #1C410E
analogous
#190E41 #330E41 #410E35
triadic
#330E41 #41330E #0E4133
tetradic
#330E41 #41190E #1C410E #0E3541
square
#330E41 #41190E #1C410E #0E3541
split-complementary
#330E41 #35410E #0E4119
monochromatic
#140519 #140519 #330E41 #5B1973 #8224A6

Accessibility & contrast

On white

16.41
#330E41 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.28
#330E41 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #330E41
16.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##330E41#FFFFFF#000000##FFFFFF
##330E411.0016.411.2816.41
#FFFFFF16.411.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001D42
Deuteranopia (green-blind)
#0D2040
Tritanopia (blue-blind)
#321826
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #330e41;
/* rgb */ color: rgb(51, 14, 65);
/* oklch */ color: oklch(25.3% 0.096 315.1);
Tailwind
colors: {
  custom: {
    50: '#6d5076',
    500: '#330e41',
    950: '#000000',
  },
}
SCSS
$custom: #330e41;
$custom-light: #6d5076;
$custom-dark: #000000;
JSON
{
  "hex": "#330e41",
  "rgb": {
    "r": 51,
    "g": 14,
    "b": 65
  },
  "hsl": {
    "h": 283.529,
    "s": 64.557,
    "l": 15.49
  },
  "oklch": {
    "l": 0.25316,
    "c": 0.09609,
    "h": 315.1
  },
  "luminance": 0.014
}

Semantic roles & 50–950 ramp

primary
#330E41
secondary
#447C2F
accent
#E8406E
background
#F6F4F7
surface
#ECE7ED
border
#C7C3C8
text
#070208
muted
#7A787B

Preview Lab

Preview with #330E41

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

Preview Lab → · Contrast checker → · Palette generator →

#330E41 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva