#330638#330638

#330638 is a very dark, moderate purple. Relative luminance 0.011; OKLCH L 23.7% C 0.098 H 323.5°. Best body text is #FFFFFF at 17.16:1 contrast (WCAG AA passes).

Color values

HEX#330638
RGBrgb(51, 6, 56)
HSLhsl(294, 81%, 12%)
HSVhsv(294, 89%, 22%)
CMYKcmyk(8.9%, 89.3%, 0%, 78%)
CIE-LABlab(9.95, 29.42, -20.87)
CIE-LCHlch(9.95, 36.07, 324.65°)
OKLaboklab(23.67% 0.0789 -0.0583)
OKLCHoklch(23.67% 0.098 323.5)
XYZxyz(2.1441, 1.1197, 3.8438)
Luminance0.0112 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#330638 #0B3806
analogous
#1A0638 #330638 #380624
triadic
#330638 #383306 #063833
tetradic
#330638 #381A06 #0B3806 #062438
square
#330638 #381A06 #0B3806 #062438
split-complementary
#330638 #243806 #06381A
monochromatic
#19031C #19031C #330638 #650C6F #9812A7

Accessibility & contrast

On white

17.16
#330638 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.22
#330638 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #330638
17.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##330638#FFFFFF#000000##FFFFFF
##3306381.0017.161.2217.16
#FFFFFF17.161.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001839
Deuteranopia (green-blind)
#0F1D37
Tritanopia (blue-blind)
#340F1F
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #330638;
/* rgb */ color: rgb(51, 6, 56);
/* oklch */ color: oklch(23.7% 0.098 323.5);
Tailwind
colors: {
  custom: {
    50: '#6d4c6f',
    500: '#330638',
    950: '#000000',
  },
}
SCSS
$custom: #330638;
$custom-light: #6d4c6f;
$custom-dark: #000000;
JSON
{
  "hex": "#330638",
  "rgb": {
    "r": 51,
    "g": 6,
    "b": 56
  },
  "hsl": {
    "h": 294,
    "s": 80.645,
    "l": 12.157
  },
  "oklch": {
    "l": 0.2367,
    "c": 0.0981,
    "h": 323.5
  },
  "luminance": 0.0112
}

Semantic roles & 50–950 ramp

primary
#330638
secondary
#2A7821
accent
#F73145
background
#F6F4F6
surface
#ECE7EC
border
#C7C3C7
text
#070107
muted
#7A777A

Preview Lab

Preview with #330638

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

Preview Lab → · Contrast checker → · Palette generator →

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