#330A42#330A42

#330A42 is a very dark, moderate purple. Relative luminance 0.013; OKLCH L 24.9% C 0.103 H 315.1°. Best body text is #FFFFFF at 16.63:1 contrast (WCAG AA passes).

Color values

HEX#330A42
RGBrgb(51, 10, 66)
HSLhsl(284, 74%, 15%)
HSVhsv(284, 85%, 26%)
CMYKcmyk(22.7%, 84.8%, 0%, 74.1%)
CIE-LABlab(11.38, 29.84, -25.72)
CIE-LCHlch(11.38, 39.40, 319.24°)
OKLaboklab(24.93% 0.0727 -0.0726)
OKLCHoklch(24.93% 0.103 315.1)
XYZxyz(2.4570, 1.3143, 5.2775)
Luminance0.0131 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#330A42 #19420A
analogous
#170A42 #330A42 #420A35
triadic
#330A42 #42330A #0A4233
tetradic
#330A42 #42170A #19420A #0A3542
square
#330A42 #42170A #19420A #0A3542
split-complementary
#330A42 #35420A #0A4217
monochromatic
#15041B #15041B #330A42 #5C1277 #851AAC

Accessibility & contrast

On white

16.63
#330A42 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.26
#330A42 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #330A42
16.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##330A42#FFFFFF#000000##FFFFFF
##330A421.0016.631.2616.63
#FFFFFF16.631.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001C44
Deuteranopia (green-blind)
#081F41
Tritanopia (blue-blind)
#321625
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #330a42;
/* rgb */ color: rgb(51, 10, 66);
/* oklch */ color: oklch(24.9% 0.103 315.1);
Tailwind
colors: {
  custom: {
    50: '#6d4e77',
    500: '#330a42',
    950: '#000000',
  },
}
SCSS
$custom: #330a42;
$custom-light: #6d4e77;
$custom-dark: #000000;
JSON
{
  "hex": "#330a42",
  "rgb": {
    "r": 51,
    "g": 10,
    "b": 66
  },
  "hsl": {
    "h": 283.929,
    "s": 73.684,
    "l": 14.902
  },
  "oklch": {
    "l": 0.24929,
    "c": 0.10272,
    "h": 315.1
  },
  "luminance": 0.01314
}

Semantic roles & 50–950 ramp

primary
#330A42
secondary
#407F29
accent
#F03769
background
#F6F4F7
surface
#ECE7ED
border
#C7C3C8
text
#070208
muted
#7A787B

Preview Lab

Preview with #330A42

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

Preview Lab → · Contrast checker → · Palette generator →

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