#330634#330634

#330634 is a very dark, moderate purple. Relative luminance 0.011; OKLCH L 23.4% C 0.094 H 327.1°. Best body text is #FFFFFF at 17.26:1 contrast (WCAG AA passes).

Color values

HEX#330634
RGBrgb(51, 6, 52)
HSLhsl(299, 79%, 11%)
HSVhsv(299, 88%, 20%)
CMYKcmyk(1.9%, 88.5%, 0%, 79.6%)
CIE-LABlab(9.66, 28.59, -18.43)
CIE-LCHlch(9.66, 34.01, 327.20°)
OKLaboklab(23.37% 0.0792 -0.0512)
OKLCHoklch(23.37% 0.094 327.1)
XYZxyz(2.0502, 1.0821, 3.3490)
Luminance0.0108 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#330634 #073406
analogous
#1C0634 #330634 #34061E
triadic
#330634 #343306 #063433
tetradic
#330634 #341C06 #073406 #061E34
square
#330634 #341C06 #073406 #061E34
split-complementary
#330634 #1E3406 #06341C
monochromatic
#1B031B #1B031B #330634 #690C6B #9F13A2

Accessibility & contrast

On white

17.26
#330634 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #330634
17.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##330634#FFFFFF#000000##FFFFFF
##3306341.0017.261.2217.26
#FFFFFF17.261.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001735
Deuteranopia (green-blind)
#121D33
Tritanopia (blue-blind)
#350D1C
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #330634;
/* rgb */ color: rgb(51, 6, 52);
/* oklch */ color: oklch(23.4% 0.094 327.1);
Tailwind
colors: {
  custom: {
    50: '#6d4b6b',
    500: '#330634',
    950: '#000000',
  },
}
SCSS
$custom: #330634;
$custom-light: #6d4b6b;
$custom-dark: #000000;
JSON
{
  "hex": "#330634",
  "rgb": {
    "r": 51,
    "g": 6,
    "b": 52
  },
  "hsl": {
    "h": 298.696,
    "s": 79.31,
    "l": 11.373
  },
  "oklch": {
    "l": 0.23367,
    "c": 0.09429,
    "h": 327.1
  },
  "luminance": 0.01082
}

Semantic roles & 50–950 ramp

primary
#330634
secondary
#237421
accent
#F63236
background
#F6F4F6
surface
#ECE7EB
border
#C7C3C6
text
#070107
muted
#7A777A

Preview Lab

Preview with #330634

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

Preview Lab → · Contrast checker → · Palette generator →

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