#330F41#330F41

#330F41 is a dark, moderate purple. Relative luminance 0.014; OKLCH L 25.4% C 0.095 H 314.9°. Best body text is #FFFFFF at 16.34:1 contrast (WCAG AA passes).

Color values

HEX#330F41
RGBrgb(51, 15, 65)
HSLhsl(283, 63%, 16%)
HSVhsv(283, 77%, 25%)
CMYKcmyk(21.5%, 76.9%, 0%, 74.5%)
CIE-LABlab(12.14, 27.22, -23.79)
CIE-LCHlch(12.14, 36.15, 318.84°)
OKLaboklab(25.45% 0.0668 -0.0669)
OKLCHoklch(25.45% 0.095 314.9)
XYZxyz(2.4900, 1.4272, 5.1443)
Luminance0.0143 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#330F41 #1D410F
analogous
#1A0F41 #330F41 #410F36
triadic
#330F41 #41330F #0F4133
tetradic
#330F41 #411A0F #1D410F #0F3641
square
#330F41 #411A0F #1D410F #0F3641
split-complementary
#330F41 #36410F #0F411A
monochromatic
#140619 #140619 #330F41 #5A1A73 #8126A4

Accessibility & contrast

On white

16.34
#330F41 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.29
#330F41 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #330F41
16.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##330F41#FFFFFF#000000##FFFFFF
##330F411.0016.341.2916.34
#FFFFFF16.341.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E42
Deuteranopia (green-blind)
#0E2140
Tritanopia (blue-blind)
#321926
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #330f41;
/* rgb */ color: rgb(51, 15, 65);
/* oklch */ color: oklch(25.4% 0.095 314.9);
Tailwind
colors: {
  custom: {
    50: '#6d5176',
    500: '#330f41',
    950: '#000000',
  },
}
SCSS
$custom: #330f41;
$custom-light: #6d5176;
$custom-dark: #000000;
JSON
{
  "hex": "#330f41",
  "rgb": {
    "r": 51,
    "g": 15,
    "b": 65
  },
  "hsl": {
    "h": 283.2,
    "s": 62.5,
    "l": 15.686
  },
  "oklch": {
    "l": 0.25447,
    "c": 0.09457,
    "h": 314.9
  },
  "luminance": 0.01427
}

Semantic roles & 50–950 ramp

primary
#330F41
secondary
#457B30
accent
#E64270
background
#F6F4F7
surface
#ECE7ED
border
#C7C3C8
text
#070208
muted
#7A787B

Preview Lab

Preview with #330F41

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

Preview Lab → · Contrast checker → · Palette generator →

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