#330843#330843

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

Color values

HEX#330843
RGBrgb(51, 8, 67)
HSLhsl(284, 79%, 15%)
HSVhsv(284, 88%, 26%)
CMYKcmyk(23.9%, 88.1%, 0%, 73.7%)
CIE-LABlab(11.15, 30.95, -26.78)
CIE-LCHlch(11.15, 40.93, 319.13°)
OKLaboklab(24.8% 0.0747 -0.0757)
OKLCHoklch(24.8% 0.106 314.6)
XYZxyz(2.4650, 1.2828, 5.4269)
Luminance0.0128 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#330843 #184308
analogous
#160843 #330843 #430836
triadic
#330843 #433308 #084333
tetradic
#330843 #431608 #184308 #083643
square
#330843 #431608 #184308 #083643
split-complementary
#330843 #364308 #084316
monochromatic
#15031B #15031B #330843 #5D0F7A #8615B0

Accessibility & contrast

On white

16.71
#330843 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #330843
16.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##330843#FFFFFF#000000##FFFFFF
##3308431.0016.711.2616.71
#FFFFFF16.711.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001B45
Deuteranopia (green-blind)
#051F42
Tritanopia (blue-blind)
#321625
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #330843;
/* rgb */ color: rgb(51, 8, 67);
/* oklch */ color: oklch(24.8% 0.106 314.6);
Tailwind
colors: {
  custom: {
    50: '#6d4d77',
    500: '#330843',
    950: '#000000',
  },
}
SCSS
$custom: #330843;
$custom-light: #6d4d77;
$custom-dark: #000000;
JSON
{
  "hex": "#330843",
  "rgb": {
    "r": 51,
    "g": 8,
    "b": 67
  },
  "hsl": {
    "h": 283.729,
    "s": 78.667,
    "l": 14.706
  },
  "oklch": {
    "l": 0.248,
    "c": 0.10632,
    "h": 314.6
  },
  "luminance": 0.01283
}

Semantic roles & 50–950 ramp

primary
#330843
secondary
#3E8125
accent
#F53367
background
#F6F4F7
surface
#ECE7ED
border
#C7C3C8
text
#070209
muted
#7A787B

Preview Lab

Preview with #330843

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

Preview Lab → · Contrast checker → · Palette generator →

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