#330836#330836

#330836 is a very dark, moderate purple. Relative luminance 0.011; OKLCH L 23.8% C 0.093 H 325.2°. Best body text is #FFFFFF at 17.09:1 contrast (WCAG AA passes).

Color values

HEX#330836
RGBrgb(51, 8, 54)
HSLhsl(296, 74%, 12%)
HSVhsv(296, 85%, 21%)
CMYKcmyk(5.6%, 85.2%, 0%, 78.8%)
CIE-LABlab(10.14, 28.04, -19.12)
CIE-LCHlch(10.14, 33.94, 325.71°)
OKLaboklab(23.76% 0.0764 -0.0532)
OKLCHoklch(23.76% 0.093 325.2)
XYZxyz(2.1179, 1.1440, 3.5986)
Luminance0.0114 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#330836 #0B3608
analogous
#1C0836 #330836 #360822
triadic
#330836 #363308 #083633
tetradic
#330836 #361C08 #0B3608 #082236
square
#330836 #361C08 #0B3608 #082236
split-complementary
#330836 #223608 #08361C
monochromatic
#19041B #19041B #330836 #65106B #9818A1

Accessibility & contrast

On white

17.09
#330836 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.23
#330836 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #330836
17.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##330836#FFFFFF#000000##FFFFFF
##3308361.0017.091.2317.09
#FFFFFF17.091.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001837
Deuteranopia (green-blind)
#121E35
Tritanopia (blue-blind)
#34101E
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #330836;
/* rgb */ color: rgb(51, 8, 54);
/* oklch */ color: oklch(23.8% 0.093 325.2);
Tailwind
colors: {
  custom: {
    50: '#6d4d6d',
    500: '#330836',
    950: '#000000',
  },
}
SCSS
$custom: #330836;
$custom-light: #6d4d6d;
$custom-dark: #000000;
JSON
{
  "hex": "#330836",
  "rgb": {
    "r": 51,
    "g": 8,
    "b": 54
  },
  "hsl": {
    "h": 296.087,
    "s": 74.194,
    "l": 12.157
  },
  "oklch": {
    "l": 0.23755,
    "c": 0.09312,
    "h": 325.2
  },
  "luminance": 0.01144
}

Semantic roles & 50–950 ramp

primary
#330836
secondary
#2A7525
accent
#F13743
background
#F6F4F6
surface
#ECE7EB
border
#C7C3C6
text
#070107
muted
#7A777A

Preview Lab

Preview with #330836

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

Preview Lab → · Contrast checker → · Palette generator →

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