#330F50#330F50

#330F50 is a dark, moderate violet. Relative luminance 0.016; OKLCH L 26.7% C 0.112 H 305.1°. Best body text is #FFFFFF at 15.85:1 contrast (WCAG AA passes).

Color values

HEX#330F50
RGBrgb(51, 15, 80)
HSLhsl(273, 68%, 19%)
HSVhsv(273, 81%, 31%)
CMYKcmyk(36.3%, 81.3%, 0%, 68.6%)
CIE-LABlab(13.38, 31.09, -32.21)
CIE-LCHlch(13.38, 44.77, 313.99°)
OKLaboklab(26.72% 0.0644 -0.0917)
OKLCHoklch(26.72% 0.112 305.1)
XYZxyz(2.9837, 1.6247, 7.7443)
Luminance0.0163 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#330F50 #2C500F
analogous
#120F50 #330F50 #500F4C
triadic
#330F50 #50330F #0F5033
tetradic
#330F50 #50120F #2C500F #0F4C50
square
#330F50 #50120F #2C500F #0F4C50
split-complementary
#330F50 #4C500F #0F5012
monochromatic
#10051A #12051C #330F50 #541984 #7522B7

Accessibility & contrast

On white

15.85
#330F50 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #330F50
15.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##330F50#FFFFFF#000000##FFFFFF
##330F501.0015.851.3315.85
#FFFFFF15.851.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002152
Deuteranopia (green-blind)
#00224F
Tritanopia (blue-blind)
#2E1F2E
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #330f50;
/* rgb */ color: rgb(51, 15, 80);
/* oklch */ color: oklch(26.7% 0.112 305.1);
Tailwind
colors: {
  custom: {
    50: '#6e5182',
    500: '#330f50',
    950: '#000000',
  },
}
SCSS
$custom: #330f50;
$custom-light: #6e5182;
$custom-dark: #000000;
JSON
{
  "hex": "#330f50",
  "rgb": {
    "r": 51,
    "g": 15,
    "b": 80
  },
  "hsl": {
    "h": 273.231,
    "s": 68.421,
    "l": 18.627
  },
  "oklch": {
    "l": 0.26723,
    "c": 0.11199,
    "h": 305.1
  },
  "luminance": 0.01625
}

Semantic roles & 50–950 ramp

primary
#330F50
secondary
#598A31
accent
#EB3D8A
background
#F6F4F8
surface
#ECE7EF
border
#C7C3CA
text
#07020A
muted
#7A787C

Preview Lab

Preview with #330F50

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

Preview Lab → · Contrast checker → · Palette generator →

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