#330434#330434

#330434 is a very dark, moderate purple. Relative luminance 0.010; OKLCH L 23.1% C 0.098 H 327.2°. Best body text is #FFFFFF at 17.39:1 contrast (WCAG AA passes).

Color values

HEX#330434
RGBrgb(51, 4, 52)
HSLhsl(299, 86%, 11%)
HSVhsv(299, 92%, 20%)
CMYKcmyk(1.9%, 92.3%, 0%, 79.6%)
CIE-LABlab(9.31, 29.60, -18.98)
CIE-LCHlch(9.31, 35.16, 327.33°)
OKLaboklab(23.12% 0.082 -0.0528)
OKLCHoklch(23.12% 0.098 327.2)
XYZxyz(2.0285, 1.0387, 3.3418)
Luminance0.0104 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#330434 #053404
analogous
#1B0434 #330434 #34041D
triadic
#330434 #343304 #043433
tetradic
#330434 #341B04 #053404 #041D34
square
#330434 #341B04 #053404 #041D34
split-complementary
#330434 #1D3404 #04341B
monochromatic
#1C021C #1C021C #330434 #6B086D #A20DA6

Accessibility & contrast

On white

17.39
#330434 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#330434 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #330434
17.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##330434#FFFFFF#000000##FFFFFF
##3304341.0017.391.2117.39
#FFFFFF17.391.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001635
Deuteranopia (green-blind)
#101C33
Tritanopia (blue-blind)
#350C1C
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #330434;
/* rgb */ color: rgb(51, 4, 52);
/* oklch */ color: oklch(23.1% 0.098 327.2);
Tailwind
colors: {
  custom: {
    50: '#6d4a6c',
    500: '#330434',
    950: '#000000',
  },
}
SCSS
$custom: #330434;
$custom-light: #6d4a6c;
$custom-dark: #000000;
JSON
{
  "hex": "#330434",
  "rgb": {
    "r": 51,
    "g": 4,
    "b": 52
  },
  "hsl": {
    "h": 298.75,
    "s": 85.714,
    "l": 10.98
  },
  "oklch": {
    "l": 0.2312,
    "c": 0.09753,
    "h": 327.2
  },
  "luminance": 0.01039
}

Semantic roles & 50–950 ramp

primary
#330434
secondary
#1F761E
accent
#FC2C30
background
#F6F4F6
surface
#ECE7EB
border
#C7C3C6
text
#070107
muted
#7A777A

Preview Lab

Preview with #330434

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

Preview Lab → · Contrast checker → · Palette generator →

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