#330A46#330A46

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

Color values

HEX#330A46
RGBrgb(51, 10, 70)
HSLhsl(281, 75%, 16%)
HSVhsv(281, 86%, 27%)
CMYKcmyk(27.1%, 85.7%, 0%, 72.5%)
CIE-LABlab(11.71, 30.81, -27.99)
CIE-LCHlch(11.71, 41.63, 317.74°)
OKLaboklab(25.27% 0.0719 -0.0792)
OKLCHoklch(25.27% 0.107 312.2)
XYZxyz(2.5791, 1.3632, 5.9204)
Luminance0.0136 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#330A46 #1D460A
analogous
#150A46 #330A46 #460A3B
triadic
#330A46 #46330A #0A4633
tetradic
#330A46 #46150A #1D460A #0A3B46
square
#330A46 #46150A #1D460A #0A3B46
split-complementary
#330A46 #3B460A #0A4615
monochromatic
#14041B #14041B #330A46 #5A127C #8119B1

Accessibility & contrast

On white

16.50
#330A46 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.27
#330A46 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #330A46
16.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##330A46#FFFFFF#000000##FFFFFF
##330A461.0016.501.2716.50
#FFFFFF16.501.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001D48
Deuteranopia (green-blind)
#032045
Tritanopia (blue-blind)
#311828
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #330a46;
/* rgb */ color: rgb(51, 10, 70);
/* oklch */ color: oklch(25.3% 0.107 312.2);
Tailwind
colors: {
  custom: {
    50: '#6e4e7a',
    500: '#330a46',
    950: '#000000',
  },
}
SCSS
$custom: #330a46;
$custom-light: #6e4e7a;
$custom-dark: #000000;
JSON
{
  "hex": "#330a46",
  "rgb": {
    "r": 51,
    "g": 10,
    "b": 70
  },
  "hsl": {
    "h": 281,
    "s": 75,
    "l": 15.686
  },
  "oklch": {
    "l": 0.25271,
    "c": 0.107,
    "h": 312.2
  },
  "luminance": 0.01363
}

Semantic roles & 50–950 ramp

primary
#330A46
secondary
#458329
accent
#F23672
background
#F6F4F7
surface
#ECE7ED
border
#C7C3C8
text
#070209
muted
#7A787B

Preview Lab

Preview with #330A46

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

Preview Lab → · Contrast checker → · Palette generator →

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