#330F47#330F47

#330F47 is a dark, moderate violet. Relative luminance 0.015; OKLCH L 25.9% C 0.102 H 310.6°. Best body text is #FFFFFF at 16.15:1 contrast (WCAG AA passes).

Color values

HEX#330F47
RGBrgb(51, 15, 71)
HSLhsl(279, 65%, 17%)
HSVhsv(279, 79%, 28%)
CMYKcmyk(28.2%, 78.9%, 0%, 72.2%)
CIE-LABlab(12.61, 28.73, -27.24)
CIE-LCHlch(12.61, 39.59, 316.53°)
OKLaboklab(25.94% 0.0661 -0.077)
OKLCHoklch(25.94% 0.102 310.6)
XYZxyz(2.6732, 1.5004, 6.1088)
Luminance0.0150 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#330F47 #23470F
analogous
#170F47 #330F47 #470F3F
triadic
#330F47 #47330F #0F4733
tetradic
#330F47 #47170F #23470F #0F3F47
square
#330F47 #47170F #23470F #0F3F47
split-complementary
#330F47 #3F470F #0F4717
monochromatic
#120519 #120519 #330F47 #571A7A #7C24AC

Accessibility & contrast

On white

16.15
#330F47 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#330F47 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #330F47
16.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##330F47#FFFFFF#000000##FFFFFF
##330F471.0016.151.3016.15
#FFFFFF16.151.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001F49
Deuteranopia (green-blind)
#062146
Tritanopia (blue-blind)
#301B29
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #330f47;
/* rgb */ color: rgb(51, 15, 71);
/* oklch */ color: oklch(25.9% 0.102 310.6);
Tailwind
colors: {
  custom: {
    50: '#6d517b',
    500: '#330f47',
    950: '#000000',
  },
}
SCSS
$custom: #330f47;
$custom-light: #6d517b;
$custom-dark: #000000;
JSON
{
  "hex": "#330f47",
  "rgb": {
    "r": 51,
    "g": 15,
    "b": 71
  },
  "hsl": {
    "h": 278.571,
    "s": 65.116,
    "l": 16.863
  },
  "oklch": {
    "l": 0.25936,
    "c": 0.10151,
    "h": 310.6
  },
  "luminance": 0.015
}

Semantic roles & 50–950 ramp

primary
#330F47
secondary
#4D8130
accent
#E8407C
background
#F6F4F7
surface
#ECE7EE
border
#C7C3C9
text
#070209
muted
#7A787B

Preview Lab

Preview with #330F47

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

Preview Lab → · Contrast checker → · Palette generator →

#330F47 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva