#330944#330944

#330944 is a very dark, moderate purple. Relative luminance 0.013; OKLCH L 25.0% C 0.106 H 313.8°. Best body text is #FFFFFF at 16.62:1 contrast (WCAG AA passes).

Color values

HEX#330944
RGBrgb(51, 9, 68)
HSLhsl(283, 77%, 15%)
HSVhsv(283, 87%, 27%)
CMYKcmyk(25%, 86.8%, 0%, 73.3%)
CIE-LABlab(11.39, 30.75, -27.11)
CIE-LCHlch(11.39, 40.99, 318.61°)
OKLaboklab(24.99% 0.0734 -0.0766)
OKLCHoklch(24.99% 0.106 313.8)
XYZxyz(2.5061, 1.3166, 5.5898)
Luminance0.0132 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#330944 #1A4409
analogous
#160944 #330944 #440937
triadic
#330944 #443309 #094433
tetradic
#330944 #441609 #1A4409 #093744
square
#330944 #441609 #1A4409 #093744
split-complementary
#330944 #374409 #094416
monochromatic
#14041B #14041B #330944 #5C107A #8417B0

Accessibility & contrast

On white

16.62
#330944 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.26
#330944 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #330944
16.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##330944#FFFFFF#000000##FFFFFF
##3309441.0016.621.2616.62
#FFFFFF16.621.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001C46
Deuteranopia (green-blind)
#041F43
Tritanopia (blue-blind)
#311726
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #330944;
/* rgb */ color: rgb(51, 9, 68);
/* oklch */ color: oklch(25.0% 0.106 313.8);
Tailwind
colors: {
  custom: {
    50: '#6d4e78',
    500: '#330944',
    950: '#000000',
  },
}
SCSS
$custom: #330944;
$custom-light: #6d4e78;
$custom-dark: #000000;
JSON
{
  "hex": "#330944",
  "rgb": {
    "r": 51,
    "g": 9,
    "b": 68
  },
  "hsl": {
    "h": 282.712,
    "s": 76.623,
    "l": 15.098
  },
  "oklch": {
    "l": 0.24993,
    "c": 0.1061,
    "h": 313.8
  },
  "luminance": 0.01317
}

Semantic roles & 50–950 ramp

primary
#330944
secondary
#418227
accent
#F3356C
background
#F6F4F7
surface
#ECE7ED
border
#C7C3C8
text
#070209
muted
#7A787B

Preview Lab

Preview with #330944

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

Preview Lab → · Contrast checker → · Palette generator →

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