#330A49#330A49

#330A49 is a dark, moderate violet. Relative luminance 0.014; OKLCH L 25.5% C 0.110 H 310.3°. Best body text is #FFFFFF at 16.40:1 contrast (WCAG AA passes).

Color values

HEX#330A49
RGBrgb(51, 10, 73)
HSLhsl(279, 76%, 16%)
HSVhsv(279, 86%, 29%)
CMYKcmyk(30.1%, 86.3%, 0%, 71.4%)
CIE-LABlab(11.97, 31.55, -29.66)
CIE-LCHlch(11.97, 43.30, 316.76°)
OKLaboklab(25.54% 0.0712 -0.0841)
OKLCHoklch(25.54% 0.11 310.3)
XYZxyz(2.6761, 1.4020, 6.4317)
Luminance0.0140 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#330A49 #20490A
analogous
#140A49 #330A49 #490A40
triadic
#330A49 #49330A #0A4933
tetradic
#330A49 #49140A #20490A #0A4049
square
#330A49 #49140A #20490A #0A4049
split-complementary
#330A49 #40490A #0A4914
monochromatic
#13041B #13041B #330A49 #59117F #7E19B5

Accessibility & contrast

On white

16.40
#330A49 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #330A49
16.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##330A49#FFFFFF#000000##FFFFFF
##330A491.0016.401.2816.40
#FFFFFF16.401.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E4B
Deuteranopia (green-blind)
#002048
Tritanopia (blue-blind)
#301A29
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #330a49;
/* rgb */ color: rgb(51, 10, 73);
/* oklch */ color: oklch(25.5% 0.110 310.3);
Tailwind
colors: {
  custom: {
    50: '#6e4f7c',
    500: '#330a49',
    950: '#000000',
  },
}
SCSS
$custom: #330a49;
$custom-light: #6e4f7c;
$custom-dark: #000000;
JSON
{
  "hex": "#330a49",
  "rgb": {
    "r": 51,
    "g": 10,
    "b": 73
  },
  "hsl": {
    "h": 279.048,
    "s": 75.904,
    "l": 16.275
  },
  "oklch": {
    "l": 0.25537,
    "c": 0.11024,
    "h": 310.3
  },
  "luminance": 0.01402
}

Semantic roles & 50–950 ramp

primary
#330A49
secondary
#498629
accent
#F23577
background
#F6F4F7
surface
#ECE7EE
border
#C7C3C9
text
#070209
muted
#7A787B

Preview Lab

Preview with #330A49

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

Preview Lab → · Contrast checker → · Palette generator →

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