#330941#330941

#330941 is a very dark, moderate purple. Relative luminance 0.013; OKLCH L 24.7% C 0.103 H 315.9°. Best body text is #FFFFFF at 16.72:1 contrast (WCAG AA passes).

Color values

HEX#330941
RGBrgb(51, 9, 65)
HSLhsl(285, 76%, 15%)
HSVhsv(285, 86%, 25%)
CMYKcmyk(21.5%, 86.2%, 0%, 74.5%)
CIE-LABlab(11.14, 30.04, -25.39)
CIE-LCHlch(11.14, 39.34, 319.80°)
OKLaboklab(24.74% 0.074 -0.0716)
OKLCHoklch(24.74% 0.103 315.9)
XYZxyz(2.4169, 1.2809, 5.1199)
Luminance0.0128 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#330941 #174109
analogous
#170941 #330941 #410933
triadic
#330941 #413309 #094133
tetradic
#330941 #411709 #174109 #093341
square
#330941 #411709 #174109 #093341
split-complementary
#330941 #334109 #094117
monochromatic
#15041B #15041B #330941 #5D1077 #8718AD

Accessibility & contrast

On white

16.72
#330941 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.26
#330941 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #330941
16.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##330941#FFFFFF#000000##FFFFFF
##3309411.0016.721.2616.72
#FFFFFF16.721.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001B43
Deuteranopia (green-blind)
#081F40
Tritanopia (blue-blind)
#321525
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #330941;
/* rgb */ color: rgb(51, 9, 65);
/* oklch */ color: oklch(24.7% 0.103 315.9);
Tailwind
colors: {
  custom: {
    50: '#6d4e76',
    500: '#330941',
    950: '#000000',
  },
}
SCSS
$custom: #330941;
$custom-light: #6d4e76;
$custom-dark: #000000;
JSON
{
  "hex": "#330941",
  "rgb": {
    "r": 51,
    "g": 9,
    "b": 65
  },
  "hsl": {
    "h": 285,
    "s": 75.676,
    "l": 14.51
  },
  "oklch": {
    "l": 0.24738,
    "c": 0.10294,
    "h": 315.9
  },
  "luminance": 0.01281
}

Semantic roles & 50–950 ramp

primary
#330941
secondary
#3D7F27
accent
#F23665
background
#F6F4F7
surface
#ECE7ED
border
#C7C3C8
text
#070208
muted
#7A787B

Preview Lab

Preview with #330941

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

Preview Lab → · Contrast checker → · Palette generator →

#330941 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva