#330E45#330E45

#330E45 is a dark, moderate purple. Relative luminance 0.014; OKLCH L 25.6% C 0.101 H 312.2°. Best body text is #FFFFFF at 16.28:1 contrast (WCAG AA passes).

Color values

HEX#330E45
RGBrgb(51, 14, 69)
HSLhsl(280, 66%, 16%)
HSVhsv(280, 80%, 27%)
CMYKcmyk(26.1%, 79.7%, 0%, 72.9%)
CIE-LABlab(12.27, 28.73, -26.39)
CIE-LCHlch(12.27, 39.01, 317.43°)
OKLaboklab(25.64% 0.0676 -0.0745)
OKLCHoklch(25.64% 0.101 312.2)
XYZxyz(2.5963, 1.4476, 5.7717)
Luminance0.0145 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#330E45 #20450E
analogous
#180E45 #330E45 #450E3C
triadic
#330E45 #45330E #0E4533
tetradic
#330E45 #45180E #20450E #0E3C45
square
#330E45 #45180E #20450E #0E3C45
split-complementary
#330E45 #3C450E #0E4518
monochromatic
#130519 #130519 #330E45 #591878 #7E23AB

Accessibility & contrast

On white

16.28
#330E45 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.29
#330E45 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #330E45
16.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##330E45#FFFFFF#000000##FFFFFF
##330E451.0016.281.2916.28
#FFFFFF16.281.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E47
Deuteranopia (green-blind)
#082144
Tritanopia (blue-blind)
#311A28
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #330e45;
/* rgb */ color: rgb(51, 14, 69);
/* oklch */ color: oklch(25.6% 0.101 312.2);
Tailwind
colors: {
  custom: {
    50: '#6d5079',
    500: '#330e45',
    950: '#000000',
  },
}
SCSS
$custom: #330e45;
$custom-light: #6d5079;
$custom-dark: #000000;
JSON
{
  "hex": "#330e45",
  "rgb": {
    "r": 51,
    "g": 14,
    "b": 69
  },
  "hsl": {
    "h": 280.364,
    "s": 66.265,
    "l": 16.275
  },
  "oklch": {
    "l": 0.25642,
    "c": 0.10064,
    "h": 312.2
  },
  "luminance": 0.01448
}

Semantic roles & 50–950 ramp

primary
#330E45
secondary
#49802F
accent
#E93F76
background
#F6F4F7
surface
#ECE7ED
border
#C7C3C8
text
#070209
muted
#7A787B

Preview Lab

Preview with #330E45

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

Preview Lab → · Contrast checker → · Palette generator →

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