#330746#330746

#330746 is a very dark, moderate purple. Relative luminance 0.013; OKLCH L 25.0% C 0.111 H 312.7°. Best body text is #FFFFFF at 16.67:1 contrast (WCAG AA passes).

Color values

HEX#330746
RGBrgb(51, 7, 70)
HSLhsl(282, 82%, 15%)
HSVhsv(282, 90%, 27%)
CMYKcmyk(27.1%, 90%, 0%, 72.5%)
CIE-LABlab(11.26, 32.11, -28.72)
CIE-LCHlch(11.26, 43.08, 318.19°)
OKLaboklab(24.96% 0.0751 -0.0813)
OKLCHoklch(24.96% 0.111 312.7)
XYZxyz(2.5465, 1.2980, 5.9096)
Luminance0.0130 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#330746 #1A4607
analogous
#140746 #330746 #460739
triadic
#330746 #463307 #074633
tetradic
#330746 #461407 #1A4607 #073946
square
#330746 #461407 #1A4607 #073946
split-complementary
#330746 #394607 #074614
monochromatic
#14031C #14031C #330746 #5C0D7E #8412B5

Accessibility & contrast

On white

16.67
#330746 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.26
#330746 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #330746
16.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##330746#FFFFFF#000000##FFFFFF
##3307461.0016.671.2616.67
#FFFFFF16.671.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001C48
Deuteranopia (green-blind)
#001F45
Tritanopia (blue-blind)
#311727
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #330746;
/* rgb */ color: rgb(51, 7, 70);
/* oklch */ color: oklch(25.0% 0.111 312.7);
Tailwind
colors: {
  custom: {
    50: '#6e4d7a',
    500: '#330746',
    950: '#000000',
  },
}
SCSS
$custom: #330746;
$custom-light: #6e4d7a;
$custom-dark: #000000;
JSON
{
  "hex": "#330746",
  "rgb": {
    "r": 51,
    "g": 7,
    "b": 70
  },
  "hsl": {
    "h": 281.905,
    "s": 81.818,
    "l": 15.098
  },
  "oklch": {
    "l": 0.24957,
    "c": 0.11069,
    "h": 312.7
  },
  "luminance": 0.01298
}

Semantic roles & 50–950 ramp

primary
#330746
secondary
#418524
accent
#F8306C
background
#F6F4F7
surface
#ECE7ED
border
#C7C3C8
text
#070209
muted
#7A787B

Preview Lab

Preview with #330746

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

Preview Lab → · Contrast checker → · Palette generator →

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