#330A40#330A40

#330A40 is a very dark, moderate purple. Relative luminance 0.013; OKLCH L 24.8% C 0.101 H 316.6°. Best body text is #FFFFFF at 16.69:1 contrast (WCAG AA passes).

Color values

HEX#330A40
RGBrgb(51, 10, 64)
HSLhsl(286, 73%, 15%)
HSVhsv(286, 84%, 25%)
CMYKcmyk(20.3%, 84.4%, 0%, 74.9%)
CIE-LABlab(11.21, 29.37, -24.57)
CIE-LCHlch(11.21, 38.29, 320.09°)
OKLaboklab(24.76% 0.073 -0.0692)
OKLCHoklch(24.76% 0.101 316.6)
XYZxyz(2.3991, 1.2912, 4.9723)
Luminance0.0129 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#330A40 #17400A
analogous
#180A40 #330A40 #400A32
triadic
#330A40 #40330A #0A4033
tetradic
#330A40 #40180A #17400A #0A3240
square
#330A40 #40180A #17400A #0A3240
split-complementary
#330A40 #32400A #0A4018
monochromatic
#15041A #15041A #330A40 #5D1275 #871BAA

Accessibility & contrast

On white

16.69
#330A40 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #330A40
16.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##330A40#FFFFFF#000000##FFFFFF
##330A401.0016.691.2616.69
#FFFFFF16.691.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001B41
Deuteranopia (green-blind)
#0A1F3F
Tritanopia (blue-blind)
#321624
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #330a40;
/* rgb */ color: rgb(51, 10, 64);
/* oklch */ color: oklch(24.8% 0.101 316.6);
Tailwind
colors: {
  custom: {
    50: '#6d4e75',
    500: '#330a40',
    950: '#000000',
  },
}
SCSS
$custom: #330a40;
$custom-light: #6d4e75;
$custom-dark: #000000;
JSON
{
  "hex": "#330a40",
  "rgb": {
    "r": 51,
    "g": 10,
    "b": 64
  },
  "hsl": {
    "h": 285.556,
    "s": 72.973,
    "l": 14.51
  },
  "oklch": {
    "l": 0.24763,
    "c": 0.10059,
    "h": 316.6
  },
  "luminance": 0.01291
}

Semantic roles & 50–950 ramp

primary
#330A40
secondary
#3D7D29
accent
#F03864
background
#F6F4F7
surface
#ECE7ED
border
#C7C3C8
text
#070208
muted
#7A787B

Preview Lab

Preview with #330A40

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

Preview Lab → · Contrast checker → · Palette generator →

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