#330A38#330A38

#330A38 is a very dark, moderate purple. Relative luminance 0.012; OKLCH L 24.1% C 0.092 H 323.2°. Best body text is #FFFFFF at 16.92:1 contrast (WCAG AA passes).

Color values

HEX#330A38
RGBrgb(51, 10, 56)
HSLhsl(293, 70%, 13%)
HSVhsv(293, 82%, 22%)
CMYKcmyk(8.9%, 82.1%, 0%, 78%)
CIE-LABlab(10.61, 27.55, -19.82)
CIE-LCHlch(10.61, 33.94, 324.26°)
OKLaboklab(24.14% 0.0738 -0.0553)
OKLCHoklch(24.14% 0.092 323.2)
XYZxyz(2.1875, 1.2065, 3.8583)
Luminance0.0121 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#330A38 #0F380A
analogous
#1C0A38 #330A38 #380A26
triadic
#330A38 #38330A #0A3833
tetradic
#330A38 #381C0A #0F380A #0A2638
square
#330A38 #381C0A #0F380A #0A2638
split-complementary
#330A38 #26380A #0A381C
monochromatic
#18051A #18051A #330A38 #62136C #921DA0

Accessibility & contrast

On white

16.92
#330A38 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.24
#330A38 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #330A38
16.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##330A38#FFFFFF#000000##FFFFFF
##330A381.0016.921.2416.92
#FFFFFF16.921.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001A39
Deuteranopia (green-blind)
#111E37
Tritanopia (blue-blind)
#341220
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #330a38;
/* rgb */ color: rgb(51, 10, 56);
/* oklch */ color: oklch(24.1% 0.092 323.2);
Tailwind
colors: {
  custom: {
    50: '#6d4e6f',
    500: '#330a38',
    950: '#000000',
  },
}
SCSS
$custom: #330a38;
$custom-light: #6d4e6f;
$custom-dark: #000000;
JSON
{
  "hex": "#330a38",
  "rgb": {
    "r": 51,
    "g": 10,
    "b": 56
  },
  "hsl": {
    "h": 293.478,
    "s": 69.697,
    "l": 12.941
  },
  "oklch": {
    "l": 0.24136,
    "c": 0.0922,
    "h": 323.2
  },
  "luminance": 0.01206
}

Semantic roles & 50–950 ramp

primary
#330A38
secondary
#317528
accent
#ED3B4F
background
#F6F4F6
surface
#ECE7EC
border
#C7C3C7
text
#070207
muted
#7A787A

Preview Lab

Preview with #330A38

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

Preview Lab → · Contrast checker → · Palette generator →

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