#330737#330737

#330737 is a very dark, moderate purple. Relative luminance 0.011; OKLCH L 23.7% C 0.096 H 324.3°. Best body text is #FFFFFF at 17.12:1 contrast (WCAG AA passes).

Color values

HEX#330737
RGBrgb(51, 7, 55)
HSLhsl(295, 77%, 12%)
HSVhsv(295, 87%, 22%)
CMYKcmyk(7.3%, 87.3%, 0%, 78.4%)
CIE-LABlab(10.04, 28.73, -19.99)
CIE-LCHlch(10.04, 35.00, 325.16°)
OKLaboklab(23.71% 0.0777 -0.0557)
OKLCHoklch(23.71% 0.096 324.3)
XYZxyz(2.1308, 1.1317, 3.7199)
Luminance0.0113 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#330737 #0B3707
analogous
#1B0737 #330737 #370723
triadic
#330737 #373307 #073733
tetradic
#330737 #371B07 #0B3707 #072337
square
#330737 #371B07 #0B3707 #072337
split-complementary
#330737 #233707 #07371B
monochromatic
#19031B #19031B #330737 #650E6D #9815A4

Accessibility & contrast

On white

17.12
#330737 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #330737
17.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##330737#FFFFFF#000000##FFFFFF
##3307371.0017.121.2317.12
#FFFFFF17.121.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001838
Deuteranopia (green-blind)
#101D36
Tritanopia (blue-blind)
#34101E
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #330737;
/* rgb */ color: rgb(51, 7, 55);
/* oklch */ color: oklch(23.7% 0.096 324.3);
Tailwind
colors: {
  custom: {
    50: '#6d4c6e',
    500: '#330737',
    950: '#000000',
  },
}
SCSS
$custom: #330737;
$custom-light: #6d4c6e;
$custom-dark: #000000;
JSON
{
  "hex": "#330737",
  "rgb": {
    "r": 51,
    "g": 7,
    "b": 55
  },
  "hsl": {
    "h": 295,
    "s": 77.419,
    "l": 12.157
  },
  "oklch": {
    "l": 0.23712,
    "c": 0.09561,
    "h": 324.3
  },
  "luminance": 0.01132
}

Semantic roles & 50–950 ramp

primary
#330737
secondary
#2A7723
accent
#F43444
background
#F6F4F6
surface
#ECE7EC
border
#C7C3C7
text
#070107
muted
#7A777A

Preview Lab

Preview with #330737

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

Preview Lab → · Contrast checker → · Palette generator →

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