#330440#330440

#330440 is a very dark, moderate purple. Relative luminance 0.012; OKLCH L 24.1% C 0.109 H 317.4°. Best body text is #FFFFFF at 17.04:1 contrast (WCAG AA passes).

Color values

HEX#330440
RGBrgb(51, 4, 64)
HSLhsl(287, 88%, 13%)
HSVhsv(287, 94%, 25%)
CMYKcmyk(20.3%, 93.8%, 0%, 74.9%)
CIE-LABlab(10.27, 32.11, -26.10)
CIE-LCHlch(10.27, 41.38, 320.90°)
OKLaboklab(24.1% 0.08 -0.0736)
OKLCHoklch(24.1% 0.109 317.4)
XYZxyz(2.3339, 1.1609, 4.9506)
Luminance0.0116 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#330440 #114004
analogous
#150440 #330440 #40042F
triadic
#330440 #403304 #044033
tetradic
#330440 #401504 #114004 #042F40
square
#330440 #401504 #114004 #042F40
split-complementary
#330440 #2F4004 #044015
monochromatic
#17021D #17021D #330440 #61087A #8F0BB3

Accessibility & contrast

On white

17.04
#330440 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.23
#330440 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #330440
17.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##330440#FFFFFF#000000##FFFFFF
##3304401.0017.041.2317.04
#FFFFFF17.041.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001942
Deuteranopia (green-blind)
#051D3F
Tritanopia (blue-blind)
#321223
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #330440;
/* rgb */ color: rgb(51, 4, 64);
/* oklch */ color: oklch(24.1% 0.109 317.4);
Tailwind
colors: {
  custom: {
    50: '#6e4b75',
    500: '#330440',
    950: '#000000',
  },
}
SCSS
$custom: #330440;
$custom-light: #6e4b75;
$custom-dark: #000000;
JSON
{
  "hex": "#330440",
  "rgb": {
    "r": 51,
    "g": 4,
    "b": 64
  },
  "hsl": {
    "h": 287,
    "s": 88.235,
    "l": 13.333
  },
  "oklch": {
    "l": 0.24096,
    "c": 0.10874,
    "h": 317.4
  },
  "luminance": 0.01161
}

Semantic roles & 50–950 ramp

primary
#330440
secondary
#34811F
accent
#FE2958
background
#F6F4F7
surface
#ECE7ED
border
#C7C3C8
text
#070108
muted
#7A777B

Preview Lab

Preview with #330440

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

Preview Lab → · Contrast checker → · Palette generator →

#330440 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva