#330849#330849

#330849 is a dark, moderate violet. Relative luminance 0.014; OKLCH L 25.3% C 0.113 H 310.6°. Best body text is #FFFFFF at 16.51:1 contrast (WCAG AA passes).

Color values

HEX#330849
RGBrgb(51, 8, 73)
HSLhsl(280, 80%, 16%)
HSVhsv(280, 89%, 29%)
CMYKcmyk(30.1%, 89%, 0%, 71.4%)
CIE-LABlab(11.68, 32.39, -30.14)
CIE-LCHlch(11.68, 44.24, 317.06°)
OKLaboklab(25.33% 0.0732 -0.0855)
OKLCHoklch(25.33% 0.113 310.6)
XYZxyz(2.6544, 1.3586, 6.4244)
Luminance0.0136 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#330849 #1E4908
analogous
#120849 #330849 #49083E
triadic
#330849 #493308 #084933
tetradic
#330849 #491208 #1E4908 #083E49
square
#330849 #491208 #1E4908 #083E49
split-complementary
#330849 #3E4908 #084912
monochromatic
#13031C #13031C #330849 #5A0E80 #8014B7

Accessibility & contrast

On white

16.51
#330849 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.27
#330849 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #330849
16.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##330849#FFFFFF#000000##FFFFFF
##3308491.0016.511.2716.51
#FFFFFF16.511.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.511.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #330849;
/* rgb */ color: rgb(51, 8, 73);
/* oklch */ color: oklch(25.3% 0.113 310.6);
Tailwind
colors: {
  custom: {
    50: '#6e4e7c',
    500: '#330849',
    950: '#000000',
  },
}
SCSS
$custom: #330849;
$custom-light: #6e4e7c;
$custom-dark: #000000;
JSON
{
  "hex": "#330849",
  "rgb": {
    "r": 51,
    "g": 8,
    "b": 73
  },
  "hsl": {
    "h": 279.692,
    "s": 80.247,
    "l": 15.882
  },
  "oklch": {
    "l": 0.25332,
    "c": 0.11258,
    "h": 310.6
  },
  "luminance": 0.01359
}

Semantic roles & 50–950 ramp

primary
#330849
secondary
#478726
accent
#F73174
background
#F6F4F7
surface
#ECE7EE
border
#C7C3C9
text
#070209
muted
#7A787B

Preview Lab

Preview with #330849

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

Preview Lab → · Contrast checker → · Palette generator →

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