#330A48#330A48

#330A48 is a dark, moderate violet. Relative luminance 0.014; OKLCH L 25.4% C 0.109 H 310.9°. Best body text is #FFFFFF at 16.43:1 contrast (WCAG AA passes).

Color values

HEX#330A48
RGBrgb(51, 10, 72)
HSLhsl(280, 76%, 16%)
HSVhsv(280, 86%, 28%)
CMYKcmyk(29.2%, 86.1%, 0%, 71.8%)
CIE-LABlab(11.88, 31.30, -29.11)
CIE-LCHlch(11.88, 42.75, 317.08°)
OKLaboklab(25.45% 0.0715 -0.0825)
OKLCHoklch(25.45% 0.109 310.9)
XYZxyz(2.6433, 1.3888, 6.2585)
Luminance0.0139 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#330A48 #1F480A
analogous
#140A48 #330A48 #480A3E
triadic
#330A48 #48330A #0A4833
tetradic
#330A48 #48140A #1F480A #0A3E48
square
#330A48 #48140A #1F480A #0A3E48
split-complementary
#330A48 #3E480A #0A4814
monochromatic
#13041B #13041B #330A48 #59117E #7F19B3

Accessibility & contrast

On white

16.43
#330A48 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.28
#330A48 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #330A48
16.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##330A48#FFFFFF#000000##FFFFFF
##330A481.0016.431.2816.43
#FFFFFF16.431.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001D4A
Deuteranopia (green-blind)
#002047
Tritanopia (blue-blind)
#301929
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #330a48;
/* rgb */ color: rgb(51, 10, 72);
/* oklch */ color: oklch(25.4% 0.109 310.9);
Tailwind
colors: {
  custom: {
    50: '#6e4f7b',
    500: '#330a48',
    950: '#000000',
  },
}
SCSS
$custom: #330a48;
$custom-light: #6e4f7b;
$custom-dark: #000000;
JSON
{
  "hex": "#330a48",
  "rgb": {
    "r": 51,
    "g": 10,
    "b": 72
  },
  "hsl": {
    "h": 279.677,
    "s": 75.61,
    "l": 16.078
  },
  "oklch": {
    "l": 0.25447,
    "c": 0.10916,
    "h": 310.9
  },
  "luminance": 0.01389
}

Semantic roles & 50–950 ramp

primary
#330A48
secondary
#488529
accent
#F23675
background
#F6F4F7
surface
#ECE7EE
border
#C7C3C9
text
#070209
muted
#7A787B

Preview Lab

Preview with #330A48

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

Preview Lab → · Contrast checker → · Palette generator →

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