#330D53#330D53

#330D53 is a dark, moderate violet. Relative luminance 0.016; OKLCH L 26.8% C 0.118 H 303.8°. Best body text is #FFFFFF at 15.87:1 contrast (WCAG AA passes).

Color values

HEX#330D53
RGBrgb(51, 13, 83)
HSLhsl(273, 73%, 19%)
HSVhsv(273, 84%, 33%)
CMYKcmyk(38.6%, 84.3%, 0%, 67.5%)
CIE-LABlab(13.33, 32.82, -34.34)
CIE-LCHlch(13.33, 47.50, 313.70°)
OKLaboklab(26.77% 0.0656 -0.0979)
OKLCHoklch(26.77% 0.118 303.8)
XYZxyz(3.0701, 1.6162, 8.3322)
Luminance0.0162 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#330D53 #2D530D
analogous
#100D53 #330D53 #530D50
triadic
#330D53 #53330D #0D5333
tetradic
#330D53 #53100D #2D530D #0D5053
square
#330D53 #53100D #2D530D #0D5053
split-complementary
#330D53 #50530D #0D5310
monochromatic
#10041A #12051E #330D53 #541588 #741EBD

Accessibility & contrast

On white

15.87
#330D53 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#330D53 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #330D53
15.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##330D53#FFFFFF#000000##FFFFFF
##330D531.0015.871.3215.87
#FFFFFF15.871.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002155
Deuteranopia (green-blind)
#002252
Tritanopia (blue-blind)
#2D1F30
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #330d53;
/* rgb */ color: rgb(51, 13, 83);
/* oklch */ color: oklch(26.8% 0.118 303.8);
Tailwind
colors: {
  custom: {
    50: '#6f5184',
    500: '#330d53',
    950: '#000000',
  },
}
SCSS
$custom: #330d53;
$custom-light: #6f5184;
$custom-dark: #000000;
JSON
{
  "hex": "#330d53",
  "rgb": {
    "r": 51,
    "g": 13,
    "b": 83
  },
  "hsl": {
    "h": 272.571,
    "s": 72.917,
    "l": 18.824
  },
  "oklch": {
    "l": 0.26772,
    "c": 0.11786,
    "h": 303.8
  },
  "luminance": 0.01616
}

Semantic roles & 50–950 ramp

primary
#330D53
secondary
#5A8E2E
accent
#F0388C
background
#F6F4F8
surface
#ECE7EF
border
#C7C3CA
text
#08020B
muted
#7B787C

Preview Lab

Preview with #330D53

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

Preview Lab → · Contrast checker → · Palette generator →

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