#330431#330431

#330431 is a very dark, moderate purple. Relative luminance 0.010; OKLCH L 22.9% C 0.095 H 330.1°. Best body text is #FFFFFF at 17.47:1 contrast (WCAG AA passes).

Color values

HEX#330431
RGBrgb(51, 4, 49)
HSLhsl(303, 85%, 11%)
HSVhsv(303, 92%, 20%)
CMYKcmyk(0%, 92.2%, 3.9%, 80%)
CIE-LABlab(9.10, 29.01, -17.12)
CIE-LCHlch(9.10, 33.68, 329.45°)
OKLaboklab(22.9% 0.0822 -0.0474)
OKLCHoklch(22.9% 0.095 330.1)
XYZxyz(1.9630, 1.0126, 2.9972)
Luminance0.0101 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#330431 #043306
analogous
#1D0433 #330431 #330419
triadic
#330431 #313304 #043133
tetradic
#330431 #331D04 #043306 #041933
square
#330431 #331D04 #043306 #041933
split-complementary
#330431 #193304 #04331D
monochromatic
#1C021B #1C021B #330431 #6C0868 #A40D9E

Accessibility & contrast

On white

17.47
#330431 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#330431 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #330431
17.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##330431#FFFFFF#000000##FFFFFF
##3304311.0017.471.2017.47
#FFFFFF17.471.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001632
Deuteranopia (green-blind)
#121C30
Tritanopia (blue-blind)
#350A1A
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #330431;
/* rgb */ color: rgb(51, 4, 49);
/* oklch */ color: oklch(22.9% 0.095 330.1);
Tailwind
colors: {
  custom: {
    50: '#6d4a69',
    500: '#330431',
    950: '#000000',
  },
}
SCSS
$custom: #330431;
$custom-light: #6d4a69;
$custom-dark: #000000;
JSON
{
  "hex": "#330431",
  "rgb": {
    "r": 51,
    "g": 4,
    "b": 49
  },
  "hsl": {
    "h": 302.553,
    "s": 85.455,
    "l": 10.784
  },
  "oklch": {
    "l": 0.22899,
    "c": 0.09485,
    "h": 330.1
  },
  "luminance": 0.01012
}

Semantic roles & 50–950 ramp

primary
#330431
secondary
#1D7521
accent
#FC352C
background
#F6F4F6
surface
#ECE7EB
border
#C7C3C6
text
#070106
muted
#7A777A

Preview Lab

Preview with #330431

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

Preview Lab → · Contrast checker → · Palette generator →

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