#330E4F#330E4F

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

Color values

HEX#330E4F
RGBrgb(51, 14, 79)
HSLhsl(274, 70%, 18%)
HSVhsv(274, 82%, 31%)
CMYKcmyk(35.4%, 82.3%, 0%, 69%)
CIE-LABlab(13.12, 31.30, -31.94)
CIE-LCHlch(13.12, 44.72, 314.42°)
OKLaboklab(26.51% 0.0657 -0.0909)
OKLCHoklch(26.51% 0.112 305.9)
XYZxyz(2.9332, 1.5824, 7.5465)
Luminance0.0158 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#330E4F #2A4F0E
analogous
#130E4F #330E4F #4F0E4A
triadic
#330E4F #4F330E #0E4F33
tetradic
#330E4F #4F130E #2A4F0E #0E4A4F
square
#330E4F #4F130E #2A4F0E #0E4A4F
split-complementary
#330E4F #4A4F0E #0E4F13
monochromatic
#11051A #11051B #330E4F #551783 #7620B7

Accessibility & contrast

On white

15.95
#330E4F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #330E4F
15.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##330E4F#FFFFFF#000000##FFFFFF
##330E4F1.0015.951.3215.95
#FFFFFF15.951.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002151
Deuteranopia (green-blind)
#00224E
Tritanopia (blue-blind)
#2E1E2E
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #330e4f;
/* rgb */ color: rgb(51, 14, 79);
/* oklch */ color: oklch(26.5% 0.112 305.9);
Tailwind
colors: {
  custom: {
    50: '#6e5181',
    500: '#330e4f',
    950: '#000000',
  },
}
SCSS
$custom: #330e4f;
$custom-light: #6e5181;
$custom-dark: #000000;
JSON
{
  "hex": "#330e4f",
  "rgb": {
    "r": 51,
    "g": 14,
    "b": 79
  },
  "hsl": {
    "h": 274.154,
    "s": 69.892,
    "l": 18.235
  },
  "oklch": {
    "l": 0.26514,
    "c": 0.1121,
    "h": 305.9
  },
  "luminance": 0.01582
}

Semantic roles & 50–950 ramp

primary
#330E4F
secondary
#568A2F
accent
#ED3B88
background
#F6F4F7
surface
#ECE7EE
border
#C7C3C9
text
#07020A
muted
#7A787C

Preview Lab

Preview with #330E4F

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

Preview Lab → · Contrast checker → · Palette generator →

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