#330334#330334

#330334 is a very dark, moderate purple. Relative luminance 0.010; OKLCH L 23.0% C 0.099 H 327.3°. Best body text is #FFFFFF at 17.45:1 contrast (WCAG AA passes).

Color values

HEX#330334
RGBrgb(51, 3, 52)
HSLhsl(299, 89%, 11%)
HSVhsv(299, 94%, 20%)
CMYKcmyk(1.9%, 94.2%, 0%, 79.6%)
CIE-LABlab(9.13, 30.11, -19.26)
CIE-LCHlch(9.13, 35.75, 327.39°)
OKLaboklab(22.99% 0.0835 -0.0536)
OKLCHoklch(22.99% 0.099 327.3)
XYZxyz(2.0176, 1.0170, 3.3382)
Luminance0.0102 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#330334 #043403
analogous
#1A0334 #330334 #34031C
triadic
#330334 #343303 #033433
tetradic
#330334 #341A03 #043403 #031C34
square
#330334 #341A03 #043403 #031C34
split-complementary
#330334 #1C3403 #03341A
monochromatic
#1C021D #1C021D #330334 #6C066E #A40AA8

Accessibility & contrast

On white

17.45
#330334 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#330334 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #330334
17.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##330334#FFFFFF#000000##FFFFFF
##3303341.0017.451.2017.45
#FFFFFF17.451.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001635
Deuteranopia (green-blind)
#101C33
Tritanopia (blue-blind)
#350B1B
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #330334;
/* rgb */ color: rgb(51, 3, 52);
/* oklch */ color: oklch(23.0% 0.099 327.3);
Tailwind
colors: {
  custom: {
    50: '#6d4a6c',
    500: '#330334',
    950: '#000000',
  },
}
SCSS
$custom: #330334;
$custom-light: #6d4a6c;
$custom-dark: #000000;
JSON
{
  "hex": "#330334",
  "rgb": {
    "r": 51,
    "g": 3,
    "b": 52
  },
  "hsl": {
    "h": 298.776,
    "s": 89.091,
    "l": 10.784
  },
  "oklch": {
    "l": 0.22994,
    "c": 0.0992,
    "h": 327.3
  },
  "luminance": 0.01017
}

Semantic roles & 50–950 ramp

primary
#330334
secondary
#1D771C
accent
#FF292D
background
#F6F4F6
surface
#ECE7EB
border
#C7C3C6
text
#070107
muted
#7A777A

Preview Lab

Preview with #330334

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

Preview Lab → · Contrast checker → · Palette generator →

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