#330A45#330A45

#330A45 is a dark, moderate purple. Relative luminance 0.014; OKLCH L 25.2% C 0.106 H 312.9°. Best body text is #FFFFFF at 16.53:1 contrast (WCAG AA passes).

Color values

HEX#330A45
RGBrgb(51, 10, 69)
HSLhsl(282, 75%, 15%)
HSVhsv(282, 86%, 27%)
CMYKcmyk(26.1%, 85.5%, 0%, 72.9%)
CIE-LABlab(11.62, 30.57, -27.43)
CIE-LCHlch(11.62, 41.07, 318.10°)
OKLaboklab(25.19% 0.0721 -0.0776)
OKLCHoklch(25.19% 0.106 312.9)
XYZxyz(2.5478, 1.3506, 5.7556)
Luminance0.0135 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#330A45 #1C450A
analogous
#150A45 #330A45 #450A39
triadic
#330A45 #45330A #0A4533
tetradic
#330A45 #45150A #1C450A #0A3945
square
#330A45 #45150A #1C450A #0A3945
split-complementary
#330A45 #39450A #0A4515
monochromatic
#14041B #14041B #330A45 #5B127A #8219B0

Accessibility & contrast

On white

16.53
#330A45 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #330A45
16.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##330A45#FFFFFF#000000##FFFFFF
##330A451.0016.531.2716.53
#FFFFFF16.531.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001D47
Deuteranopia (green-blind)
#042044
Tritanopia (blue-blind)
#311827
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #330a45;
/* rgb */ color: rgb(51, 10, 69);
/* oklch */ color: oklch(25.2% 0.106 312.9);
Tailwind
colors: {
  custom: {
    50: '#6d4e79',
    500: '#330a45',
    950: '#000000',
  },
}
SCSS
$custom: #330a45;
$custom-light: #6d4e79;
$custom-dark: #000000;
JSON
{
  "hex": "#330a45",
  "rgb": {
    "r": 51,
    "g": 10,
    "b": 69
  },
  "hsl": {
    "h": 281.695,
    "s": 74.684,
    "l": 15.49
  },
  "oklch": {
    "l": 0.25185,
    "c": 0.10593,
    "h": 312.9
  },
  "luminance": 0.01351
}

Semantic roles & 50–950 ramp

primary
#330A45
secondary
#448229
accent
#F1366F
background
#F6F4F7
surface
#ECE7ED
border
#C7C3C8
text
#070209
muted
#7A787B

Preview Lab

Preview with #330A45

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

Preview Lab → · Contrast checker → · Palette generator →

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