#330335#330335

#330335 is a very dark, moderate purple. Relative luminance 0.010; OKLCH L 23.1% C 0.100 H 326.4°. Best body text is #FFFFFF at 17.42:1 contrast (WCAG AA passes).

Color values

HEX#330335
RGBrgb(51, 3, 53)
HSLhsl(298, 89%, 11%)
HSVhsv(298, 94%, 21%)
CMYKcmyk(3.8%, 94.3%, 0%, 79.2%)
CIE-LABlab(9.21, 30.31, -19.88)
CIE-LCHlch(9.21, 36.25, 326.75°)
OKLaboklab(23.07% 0.0834 -0.0554)
OKLCHoklch(23.07% 0.1 326.4)
XYZxyz(2.0404, 1.0261, 3.4581)
Luminance0.0103 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#330335 #053503
analogous
#1A0335 #330335 #35031E
triadic
#330335 #353303 #033533
tetradic
#330335 #351A03 #053503 #031E35
square
#330335 #351A03 #053503 #031E35
split-complementary
#330335 #1E3503 #03351A
monochromatic
#1C021D #1C021D #330335 #6B066F #A20AA9

Accessibility & contrast

On white

17.42
#330335 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #330335
17.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##330335#FFFFFF#000000##FFFFFF
##3303351.0017.421.2117.42
#FFFFFF17.421.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001636
Deuteranopia (green-blind)
#0F1C34
Tritanopia (blue-blind)
#350B1C
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #330335;
/* rgb */ color: rgb(51, 3, 53);
/* oklch */ color: oklch(23.1% 0.100 326.4);
Tailwind
colors: {
  custom: {
    50: '#6d4a6c',
    500: '#330335',
    950: '#000000',
  },
}
SCSS
$custom: #330335;
$custom-light: #6d4a6c;
$custom-dark: #000000;
JSON
{
  "hex": "#330335",
  "rgb": {
    "r": 51,
    "g": 3,
    "b": 53
  },
  "hsl": {
    "h": 297.6,
    "s": 89.286,
    "l": 10.98
  },
  "oklch": {
    "l": 0.23071,
    "c": 0.10008,
    "h": 326.4
  },
  "luminance": 0.01026
}

Semantic roles & 50–950 ramp

primary
#330335
secondary
#1F781C
accent
#FF2931
background
#F6F4F6
surface
#ECE7EB
border
#C7C3C6
text
#070107
muted
#7A777A

Preview Lab

Preview with #330335

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

Preview Lab → · Contrast checker → · Palette generator →

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