#330739#330739

#330739 is a very dark, moderate purple. Relative luminance 0.012; OKLCH L 23.9% C 0.098 H 322.6°. Best body text is #FFFFFF at 17.07:1 contrast (WCAG AA passes).

Color values

HEX#330739
RGBrgb(51, 7, 57)
HSLhsl(293, 78%, 13%)
HSVhsv(293, 88%, 22%)
CMYKcmyk(10.5%, 87.7%, 0%, 77.6%)
CIE-LABlab(10.19, 29.15, -21.20)
CIE-LCHlch(10.19, 36.05, 323.98°)
OKLaboklab(23.87% 0.0775 -0.0593)
OKLCHoklch(23.87% 0.098 322.6)
XYZxyz(2.1797, 1.1513, 3.9775)
Luminance0.0115 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#330739 #0D3907
analogous
#1A0739 #330739 #390726
triadic
#330739 #393307 #073933
tetradic
#330739 #391A07 #0D3907 #072639
square
#330739 #391A07 #0D3907 #072639
split-complementary
#330739 #263907 #07391A
monochromatic
#18031B #18031B #330739 #640E70 #9514A6

Accessibility & contrast

On white

17.07
#330739 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.23
#330739 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #330739
17.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##330739#FFFFFF#000000##FFFFFF
##3307391.0017.071.2317.07
#FFFFFF17.071.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00193A
Deuteranopia (green-blind)
#0F1E38
Tritanopia (blue-blind)
#34111F
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #330739;
/* rgb */ color: rgb(51, 7, 57);
/* oklch */ color: oklch(23.9% 0.098 322.6);
Tailwind
colors: {
  custom: {
    50: '#6d4c70',
    500: '#330739',
    950: '#000000',
  },
}
SCSS
$custom: #330739;
$custom-light: #6d4c70;
$custom-dark: #000000;
JSON
{
  "hex": "#330739",
  "rgb": {
    "r": 51,
    "g": 7,
    "b": 57
  },
  "hsl": {
    "h": 292.8,
    "s": 78.125,
    "l": 12.549
  },
  "oklch": {
    "l": 0.23865,
    "c": 0.09757,
    "h": 322.6
  },
  "luminance": 0.01151
}

Semantic roles & 50–950 ramp

primary
#330739
secondary
#2E7923
accent
#F5334A
background
#F6F4F6
surface
#ECE7EC
border
#C7C3C7
text
#070107
muted
#7A777A

Preview Lab

Preview with #330739

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

Preview Lab → · Contrast checker → · Palette generator →

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