#330943#330943

#330943 is a very dark, moderate purple. Relative luminance 0.013; OKLCH L 24.9% C 0.105 H 314.5°. Best body text is #FFFFFF at 16.66:1 contrast (WCAG AA passes).

Color values

HEX#330943
RGBrgb(51, 9, 67)
HSLhsl(283, 76%, 15%)
HSVhsv(283, 87%, 26%)
CMYKcmyk(23.9%, 86.6%, 0%, 73.7%)
CIE-LABlab(11.31, 30.52, -26.54)
CIE-LCHlch(11.31, 40.44, 318.99°)
OKLaboklab(24.91% 0.0736 -0.0749)
OKLCHoklch(24.91% 0.105 314.5)
XYZxyz(2.4759, 1.3045, 5.4305)
Luminance0.0130 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#330943 #194309
analogous
#160943 #330943 #430936
triadic
#330943 #433309 #094333
tetradic
#330943 #431609 #194309 #093643
square
#330943 #431609 #194309 #093643
split-complementary
#330943 #364309 #094316
monochromatic
#15041B #15041B #330943 #5C1079 #8517AF

Accessibility & contrast

On white

16.66
#330943 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #330943
16.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##330943#FFFFFF#000000##FFFFFF
##3309431.0016.661.2616.66
#FFFFFF16.661.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001C45
Deuteranopia (green-blind)
#061F42
Tritanopia (blue-blind)
#321626
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #330943;
/* rgb */ color: rgb(51, 9, 67);
/* oklch */ color: oklch(24.9% 0.105 314.5);
Tailwind
colors: {
  custom: {
    50: '#6d4e77',
    500: '#330943',
    950: '#000000',
  },
}
SCSS
$custom: #330943;
$custom-light: #6d4e77;
$custom-dark: #000000;
JSON
{
  "hex": "#330943",
  "rgb": {
    "r": 51,
    "g": 9,
    "b": 67
  },
  "hsl": {
    "h": 283.448,
    "s": 76.316,
    "l": 14.902
  },
  "oklch": {
    "l": 0.24907,
    "c": 0.10504,
    "h": 314.5
  },
  "luminance": 0.01304
}

Semantic roles & 50–950 ramp

primary
#330943
secondary
#408127
accent
#F33569
background
#F6F4F7
surface
#ECE7ED
border
#C7C3C8
text
#070209
muted
#7A787B

Preview Lab

Preview with #330943

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

Preview Lab → · Contrast checker → · Palette generator →

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