#330641#330641

#330641 is a very dark, moderate purple. Relative luminance 0.012; OKLCH L 24.4% C 0.107 H 316.4°. Best body text is #FFFFFF at 16.89:1 contrast (WCAG AA passes).

Color values

HEX#330641
RGBrgb(51, 6, 65)
HSLhsl(286, 83%, 14%)
HSVhsv(286, 91%, 25%)
CMYKcmyk(21.5%, 90.8%, 0%, 74.5%)
CIE-LABlab(10.67, 31.40, -26.15)
CIE-LCHlch(10.67, 40.86, 320.21°)
OKLaboklab(24.41% 0.0774 -0.0738)
OKLCHoklch(24.41% 0.107 316.4)
XYZxyz(2.3844, 1.2158, 5.1091)
Luminance0.0122 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#330641 #144106
analogous
#160641 #330641 #410632
triadic
#330641 #413306 #064133
tetradic
#330641 #411606 #144106 #063241
square
#330641 #411606 #144106 #063241
split-complementary
#330641 #324106 #064116
monochromatic
#16031C #16031C #330641 #5F0B79 #8B10B1

Accessibility & contrast

On white

16.89
#330641 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.24
#330641 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #330641
16.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##330641#FFFFFF#000000##FFFFFF
##3306411.0016.891.2416.89
#FFFFFF16.891.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001A43
Deuteranopia (green-blind)
#061E40
Tritanopia (blue-blind)
#321424
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #330641;
/* rgb */ color: rgb(51, 6, 65);
/* oklch */ color: oklch(24.4% 0.107 316.4);
Tailwind
colors: {
  custom: {
    50: '#6d4c76',
    500: '#330641',
    950: '#000000',
  },
}
SCSS
$custom: #330641;
$custom-light: #6d4c76;
$custom-dark: #000000;
JSON
{
  "hex": "#330641",
  "rgb": {
    "r": 51,
    "g": 6,
    "b": 65
  },
  "hsl": {
    "h": 285.763,
    "s": 83.099,
    "l": 13.922
  },
  "oklch": {
    "l": 0.24408,
    "c": 0.10693,
    "h": 316.4
  },
  "luminance": 0.01216
}

Semantic roles & 50–950 ramp

primary
#330641
secondary
#398122
accent
#F92E5F
background
#F6F4F7
surface
#ECE7ED
border
#C7C3C8
text
#070108
muted
#7A777B

Preview Lab

Preview with #330641

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

Preview Lab → · Contrast checker → · Palette generator →

#330641 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva