#330734#330734

#330734 is a very dark, moderate purple. Relative luminance 0.011; OKLCH L 23.5% C 0.093 H 327.1°. Best body text is #FFFFFF at 17.20:1 contrast (WCAG AA passes).

Color values

HEX#330734
RGBrgb(51, 7, 52)
HSLhsl(299, 76%, 12%)
HSVhsv(299, 87%, 20%)
CMYKcmyk(1.9%, 86.5%, 0%, 79.6%)
CIE-LABlab(9.83, 28.10, -18.16)
CIE-LCHlch(9.83, 33.46, 327.13°)
OKLaboklab(23.49% 0.0778 -0.0504)
OKLCHoklch(23.49% 0.093 327.1)
XYZxyz(2.0610, 1.1038, 3.3527)
Luminance0.0110 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#330734 #083407
analogous
#1D0734 #330734 #34071F
triadic
#330734 #343307 #073433
tetradic
#330734 #341D07 #083407 #071F34
square
#330734 #341D07 #083407 #071F34
split-complementary
#330734 #1F3407 #07341D
monochromatic
#1A041B #1A041B #330734 #680E6A #9D16A0

Accessibility & contrast

On white

17.20
#330734 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.22
#330734 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #330734
17.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##330734#FFFFFF#000000##FFFFFF
##3307341.0017.201.2217.20
#FFFFFF17.201.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#011835
Deuteranopia (green-blind)
#121D33
Tritanopia (blue-blind)
#350E1D
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #330734;
/* rgb */ color: rgb(51, 7, 52);
/* oklch */ color: oklch(23.5% 0.093 327.1);
Tailwind
colors: {
  custom: {
    50: '#6d4c6b',
    500: '#330734',
    950: '#000000',
  },
}
SCSS
$custom: #330734;
$custom-light: #6d4c6b;
$custom-dark: #000000;
JSON
{
  "hex": "#330734",
  "rgb": {
    "r": 51,
    "g": 7,
    "b": 52
  },
  "hsl": {
    "h": 298.667,
    "s": 76.271,
    "l": 11.569
  },
  "oklch": {
    "l": 0.23489,
    "c": 0.09271,
    "h": 327.1
  },
  "luminance": 0.01104
}

Semantic roles & 50–950 ramp

primary
#330734
secondary
#257423
accent
#F33539
background
#F6F4F6
surface
#ECE7EB
border
#C7C3C6
text
#070107
muted
#7A777A

Preview Lab

Preview with #330734

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

Preview Lab → · Contrast checker → · Palette generator →

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