#330234#330234

#330234 is a very dark, moderate purple. Relative luminance 0.010; OKLCH L 22.9% C 0.101 H 327.4°. Best body text is #FFFFFF at 17.51:1 contrast (WCAG AA passes).

Color values

HEX#330234
RGBrgb(51, 2, 52)
HSLhsl(299, 93%, 11%)
HSVhsv(299, 96%, 20%)
CMYKcmyk(1.9%, 96.2%, 0%, 79.6%)
CIE-LABlab(8.95, 30.64, -19.55)
CIE-LCHlch(8.95, 36.35, 327.46°)
OKLaboklab(22.87% 0.085 -0.0544)
OKLCHoklch(22.87% 0.101 327.4)
XYZxyz(2.0068, 0.9953, 3.3346)
Luminance0.0100 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#330234 #033402
analogous
#1A0234 #330234 #34021C
triadic
#330234 #343302 #023433
tetradic
#330234 #341A02 #033402 #021C34
square
#330234 #341A02 #033402 #021C34
split-complementary
#330234 #1C3402 #02341A
monochromatic
#1D011D #1D011D #330234 #6D046F #A707AA

Accessibility & contrast

On white

17.51
#330234 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#330234 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #330234
17.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##330234#FFFFFF#000000##FFFFFF
##3302341.0017.511.2017.51
#FFFFFF17.511.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001535
Deuteranopia (green-blind)
#0F1C33
Tritanopia (blue-blind)
#350A1B
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #330234;
/* rgb */ color: rgb(51, 2, 52);
/* oklch */ color: oklch(22.9% 0.101 327.4);
Tailwind
colors: {
  custom: {
    50: '#6d496c',
    500: '#330234',
    950: '#000000',
  },
}
SCSS
$custom: #330234;
$custom-light: #6d496c;
$custom-dark: #000000;
JSON
{
  "hex": "#330234",
  "rgb": {
    "r": 51,
    "g": 2,
    "b": 52
  },
  "hsl": {
    "h": 298.8,
    "s": 92.593,
    "l": 10.588
  },
  "oklch": {
    "l": 0.22867,
    "c": 0.10089,
    "h": 327.4
  },
  "luminance": 0.00995
}

Semantic roles & 50–950 ramp

primary
#330234
secondary
#1C781A
accent
#FF292D
background
#F6F4F6
surface
#ECE7EB
border
#C7C3C6
text
#070107
muted
#7A777A

Preview Lab

Preview with #330234

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

Preview Lab → · Contrast checker → · Palette generator →

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