#330835#330835

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

Color values

HEX#330835
RGBrgb(51, 8, 53)
HSLhsl(297, 74%, 12%)
HSVhsv(297, 85%, 21%)
CMYKcmyk(3.8%, 84.9%, 0%, 79.2%)
CIE-LABlab(10.07, 27.83, -18.50)
CIE-LCHlch(10.07, 33.42, 326.38°)
OKLaboklab(23.68% 0.0765 -0.0514)
OKLCHoklch(23.68% 0.092 326.1)
XYZxyz(2.0946, 1.1347, 3.4762)
Luminance0.0114 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#330835 #0A3508
analogous
#1D0835 #330835 #350821
triadic
#330835 #353308 #083533
tetradic
#330835 #351D08 #0A3508 #082135
square
#330835 #351D08 #0A3508 #082135
split-complementary
#330835 #213508 #08351D
monochromatic
#1A041B #1A041B #330835 #66106A #99189F

Accessibility & contrast

On white

17.11
#330835 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #330835
17.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##330835#FFFFFF#000000##FFFFFF
##3308351.0017.111.2317.11
#FFFFFF17.111.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#011836
Deuteranopia (green-blind)
#121D34
Tritanopia (blue-blind)
#350F1E
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #330835;
/* rgb */ color: rgb(51, 8, 53);
/* oklch */ color: oklch(23.7% 0.092 326.1);
Tailwind
colors: {
  custom: {
    50: '#6d4d6c',
    500: '#330835',
    950: '#000000',
  },
}
SCSS
$custom: #330835;
$custom-light: #6d4d6c;
$custom-dark: #000000;
JSON
{
  "hex": "#330835",
  "rgb": {
    "r": 51,
    "g": 8,
    "b": 53
  },
  "hsl": {
    "h": 297.333,
    "s": 73.77,
    "l": 11.961
  },
  "oklch": {
    "l": 0.23681,
    "c": 0.09213,
    "h": 326.1
  },
  "luminance": 0.01135
}

Semantic roles & 50–950 ramp

primary
#330835
secondary
#287425
accent
#F03740
background
#F6F4F6
surface
#ECE7EB
border
#C7C3C6
text
#070107
muted
#7A777A

Preview Lab

Preview with #330835

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

Preview Lab → · Contrast checker → · Palette generator →

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