#330338#330338

#330338 is a very dark, moderate purple. Relative luminance 0.011; OKLCH L 23.3% C 0.103 H 323.8°. Best body text is #FFFFFF at 17.34:1 contrast (WCAG AA passes).

Color values

HEX#330338
RGBrgb(51, 3, 56)
HSLhsl(294, 90%, 12%)
HSVhsv(294, 95%, 22%)
CMYKcmyk(8.9%, 94.6%, 0%, 78%)
CIE-LABlab(9.44, 30.91, -21.69)
CIE-LCHlch(9.44, 37.76, 324.94°)
OKLaboklab(23.31% 0.083 -0.0607)
OKLCHoklch(23.31% 0.103 323.8)
XYZxyz(2.1115, 1.0546, 3.8330)
Luminance0.0105 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#330338 #083803
analogous
#190338 #330338 #380323
triadic
#330338 #383303 #033833
tetradic
#330338 #381903 #083803 #032338
square
#330338 #381903 #083803 #032338
split-complementary
#330338 #233803 #033819
monochromatic
#1A021D #1A021D #330338 #680672 #9D09AC

Accessibility & contrast

On white

17.34
#330338 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#330338 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #330338
17.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##330338#FFFFFF#000000##FFFFFF
##3303381.0017.341.2117.34
#FFFFFF17.341.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001739
Deuteranopia (green-blind)
#0D1C37
Tritanopia (blue-blind)
#340D1E
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #330338;
/* rgb */ color: rgb(51, 3, 56);
/* oklch */ color: oklch(23.3% 0.103 323.8);
Tailwind
colors: {
  custom: {
    50: '#6d4a6f',
    500: '#330338',
    950: '#000000',
  },
}
SCSS
$custom: #330338;
$custom-light: #6d4a6f;
$custom-dark: #000000;
JSON
{
  "hex": "#330338",
  "rgb": {
    "r": 51,
    "g": 3,
    "b": 56
  },
  "hsl": {
    "h": 294.34,
    "s": 89.831,
    "l": 11.569
  },
  "oklch": {
    "l": 0.23308,
    "c": 0.10278,
    "h": 323.8
  },
  "luminance": 0.01054
}

Semantic roles & 50–950 ramp

primary
#330338
secondary
#257B1C
accent
#FF293D
background
#F6F4F6
surface
#ECE7EC
border
#C7C3C7
text
#070107
muted
#7A777A

Preview Lab

Preview with #330338

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

Preview Lab → · Contrast checker → · Palette generator →

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