#330C53#330C53

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

Color values

HEX#330C53
RGBrgb(51, 12, 83)
HSLhsl(273, 75%, 19%)
HSVhsv(273, 86%, 33%)
CMYKcmyk(38.6%, 85.5%, 0%, 67.5%)
CIE-LABlab(13.18, 33.26, -34.59)
CIE-LCHlch(13.18, 47.99, 313.87°)
OKLaboklab(26.67% 0.0665 -0.0986)
OKLCHoklch(26.67% 0.119 304)
XYZxyz(3.0577, 1.5913, 8.3280)
Luminance0.0159 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#330C53 #2C530C
analogous
#0F0C53 #330C53 #530C4F
triadic
#330C53 #53330C #0C5333
tetradic
#330C53 #530F0C #2C530C #0C4F53
square
#330C53 #530F0C #2C530C #0C4F53
split-complementary
#330C53 #4F530C #0C530F
monochromatic
#10041B #12041E #330C53 #541488 #751BBE

Accessibility & contrast

On white

15.93
#330C53 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #330C53
15.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##330C53#FFFFFF#000000##FFFFFF
##330C531.0015.931.3215.93
#FFFFFF15.931.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.931.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #330c53;
/* rgb */ color: rgb(51, 12, 83);
/* oklch */ color: oklch(26.7% 0.119 304.0);
Tailwind
colors: {
  custom: {
    50: '#6f5084',
    500: '#330c53',
    950: '#000000',
  },
}
SCSS
$custom: #330c53;
$custom-light: #6f5084;
$custom-dark: #000000;
JSON
{
  "hex": "#330c53",
  "rgb": {
    "r": 51,
    "g": 12,
    "b": 83
  },
  "hsl": {
    "h": 272.958,
    "s": 74.737,
    "l": 18.627
  },
  "oklch": {
    "l": 0.26666,
    "c": 0.11898,
    "h": 304
  },
  "luminance": 0.01591
}

Semantic roles & 50–950 ramp

primary
#330C53
secondary
#598E2D
accent
#F1368B
background
#F6F4F8
surface
#ECE7EF
border
#C7C3CA
text
#08020B
muted
#7B787C

Preview Lab

Preview with #330C53

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

Preview Lab → · Contrast checker → · Palette generator →

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