#330136#330136

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

Color values

HEX#330136
RGBrgb(51, 1, 54)
HSLhsl(297, 96%, 11%)
HSVhsv(297, 98%, 21%)
CMYKcmyk(5.6%, 98.1%, 0%, 78.8%)
CIE-LABlab(8.92, 31.56, -21.06)
CIE-LCHlch(8.92, 37.94, 326.29°)
OKLaboklab(22.9% 0.0862 -0.0588)
OKLCHoklch(22.9% 0.104 325.7)
XYZxyz(2.0419, 0.9920, 3.5732)
Luminance0.0099 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#330136 #043601
analogous
#180136 #330136 #36011E
triadic
#330136 #363301 #013633
tetradic
#330136 #361801 #043601 #011E36
square
#330136 #361801 #043601 #011E36
split-complementary
#330136 #1E3601 #013618
monochromatic
#1C011E #1C011E #330136 #6C0272 #A403AE

Accessibility & contrast

On white

17.52
#330136 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #330136
17.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##330136#FFFFFF#000000##FFFFFF
##3301361.0017.521.2017.52
#FFFFFF17.521.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001537
Deuteranopia (green-blind)
#0D1B35
Tritanopia (blue-blind)
#340A1C
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #330136;
/* rgb */ color: rgb(51, 1, 54);
/* oklch */ color: oklch(22.9% 0.104 325.7);
Tailwind
colors: {
  custom: {
    50: '#6d496d',
    500: '#330136',
    950: '#000000',
  },
}
SCSS
$custom: #330136;
$custom-light: #6d496d;
$custom-dark: #000000;
JSON
{
  "hex": "#330136",
  "rgb": {
    "r": 51,
    "g": 1,
    "b": 54
  },
  "hsl": {
    "h": 296.604,
    "s": 96.364,
    "l": 10.784
  },
  "oklch": {
    "l": 0.22897,
    "c": 0.10432,
    "h": 325.7
  },
  "luminance": 0.00992
}

Semantic roles & 50–950 ramp

primary
#330136
secondary
#1D7B18
accent
#FF2935
background
#F6F4F6
surface
#ECE7EB
border
#C7C3C6
text
#070107
muted
#7A777A

Preview Lab

Preview with #330136

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

Preview Lab → · Contrast checker → · Palette generator →

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