#330938#330938

#330938 is a very dark, moderate purple. Relative luminance 0.012; OKLCH L 24.0% C 0.094 H 323.3°. Best body text is #FFFFFF at 16.98:1 contrast (WCAG AA passes).

Color values

HEX#330938
RGBrgb(51, 9, 56)
HSLhsl(294, 72%, 13%)
HSVhsv(294, 84%, 22%)
CMYKcmyk(8.9%, 83.9%, 0%, 78%)
CIE-LABlab(10.44, 28.00, -20.08)
CIE-LCHlch(10.44, 34.46, 324.36°)
OKLaboklab(24.02% 0.075 -0.056)
OKLCHoklch(24.02% 0.094 323.3)
XYZxyz(2.1767, 1.1848, 3.8547)
Luminance0.0118 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#330938 #0E3809
analogous
#1B0938 #330938 #380925
triadic
#330938 #383309 #093833
tetradic
#330938 #381B09 #0E3809 #092538
square
#330938 #381B09 #0E3809 #092538
split-complementary
#330938 #253809 #09381B
monochromatic
#18041A #18041A #330938 #63116D #931AA1

Accessibility & contrast

On white

16.98
#330938 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.24
#330938 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #330938
16.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##330938#FFFFFF#000000##FFFFFF
##3309381.0016.981.2416.98
#FFFFFF16.981.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001939
Deuteranopia (green-blind)
#111E37
Tritanopia (blue-blind)
#34111F
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #330938;
/* rgb */ color: rgb(51, 9, 56);
/* oklch */ color: oklch(24.0% 0.094 323.3);
Tailwind
colors: {
  custom: {
    50: '#6d4d6f',
    500: '#330938',
    950: '#000000',
  },
}
SCSS
$custom: #330938;
$custom-light: #6d4d6f;
$custom-dark: #000000;
JSON
{
  "hex": "#330938",
  "rgb": {
    "r": 51,
    "g": 9,
    "b": 56
  },
  "hsl": {
    "h": 293.617,
    "s": 72.308,
    "l": 12.745
  },
  "oklch": {
    "l": 0.24021,
    "c": 0.09364,
    "h": 323.3
  },
  "luminance": 0.01185
}

Semantic roles & 50–950 ramp

primary
#330938
secondary
#2F7627
accent
#EF394C
background
#F6F4F6
surface
#ECE7EC
border
#C7C3C7
text
#070107
muted
#7A777A

Preview Lab

Preview with #330938

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

Preview Lab → · Contrast checker → · Palette generator →

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