#330F53#330F53

#330F53 is a dark, moderate violet. Relative luminance 0.017; OKLCH L 27.0% C 0.115 H 303.4°. Best body text is #FFFFFF at 15.74:1 contrast (WCAG AA passes).

Color values

HEX#330F53
RGBrgb(51, 15, 83)
HSLhsl(272, 69%, 19%)
HSVhsv(272, 82%, 33%)
CMYKcmyk(38.6%, 81.9%, 0%, 67.5%)
CIE-LABlab(13.65, 31.90, -33.82)
CIE-LCHlch(13.65, 46.49, 313.32°)
OKLaboklab(27% 0.0636 -0.0964)
OKLCHoklch(27% 0.115 303.4)
XYZxyz(3.0970, 1.6700, 8.3411)
Luminance0.0167 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#330F53 #2F530F
analogous
#110F53 #330F53 #530F51
triadic
#330F53 #53330F #0F5333
tetradic
#330F53 #53110F #2F530F #0F5153
square
#330F53 #53110F #2F530F #0F5153
split-complementary
#330F53 #51530F #0F5311
monochromatic
#10051A #13061F #330F53 #531887 #7322BB

Accessibility & contrast

On white

15.74
#330F53 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#330F53 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #330F53
15.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##330F53#FFFFFF#000000##FFFFFF
##330F531.0015.741.3315.74
#FFFFFF15.741.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002255
Deuteranopia (green-blind)
#002352
Tritanopia (blue-blind)
#2D2030
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #330f53;
/* rgb */ color: rgb(51, 15, 83);
/* oklch */ color: oklch(27.0% 0.115 303.4);
Tailwind
colors: {
  custom: {
    50: '#6f5284',
    500: '#330f53',
    950: '#000000',
  },
}
SCSS
$custom: #330f53;
$custom-light: #6f5284;
$custom-dark: #000000;
JSON
{
  "hex": "#330f53",
  "rgb": {
    "r": 51,
    "g": 15,
    "b": 83
  },
  "hsl": {
    "h": 271.765,
    "s": 69.388,
    "l": 19.216
  },
  "oklch": {
    "l": 0.26998,
    "c": 0.11549,
    "h": 303.4
  },
  "luminance": 0.0167
}

Semantic roles & 50–950 ramp

primary
#330F53
secondary
#5C8D31
accent
#EC3C8F
background
#F6F4F8
surface
#ECE7EF
border
#C7C3CA
text
#08020B
muted
#7B787C

Preview Lab

Preview with #330F53

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

Preview Lab → · Contrast checker → · Palette generator →

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