#331035#331035

#331035 is a very dark, moderate purple. Relative luminance 0.013; OKLCH L 24.7% C 0.079 H 325.5°. Best body text is #FFFFFF at 16.59:1 contrast (WCAG AA passes).

Color values

HEX#331035
RGBrgb(51, 16, 53)
HSLhsl(297, 54%, 14%)
HSVhsv(297, 70%, 21%)
CMYKcmyk(3.8%, 69.8%, 0%, 79.2%)
CIE-LABlab(11.49, 23.83, -16.24)
CIE-LCHlch(11.49, 28.84, 325.73°)
OKLaboklab(24.71% 0.0653 -0.0449)
OKLCHoklch(24.71% 0.079 325.5)
XYZxyz(2.1931, 1.3316, 3.5090)
Luminance0.0133 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#331035 #123510
analogous
#201035 #331035 #351024
triadic
#331035 #353310 #103533
tetradic
#331035 #352010 #123510 #102435
square
#331035 #352010 #123510 #102435
split-complementary
#331035 #243510 #103520
monochromatic
#170718 #170718 #331035 #601E64 #8D2C93

Accessibility & contrast

On white

16.59
#331035 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.27
#331035 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #331035
16.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##331035#FFFFFF#000000##FFFFFF
##3310351.0016.591.2716.59
#FFFFFF16.591.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B1C36
Deuteranopia (green-blind)
#172034
Tritanopia (blue-blind)
#341520
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #331035;
/* rgb */ color: rgb(51, 16, 53);
/* oklch */ color: oklch(24.7% 0.079 325.5);
Tailwind
colors: {
  custom: {
    50: '#6c516c',
    500: '#331035',
    950: '#000000',
  },
}
SCSS
$custom: #331035;
$custom-light: #6c516c;
$custom-dark: #000000;
JSON
{
  "hex": "#331035",
  "rgb": {
    "r": 51,
    "g": 16,
    "b": 53
  },
  "hsl": {
    "h": 296.757,
    "s": 53.623,
    "l": 13.529
  },
  "oklch": {
    "l": 0.24712,
    "c": 0.07928,
    "h": 325.5
  },
  "luminance": 0.01331
}

Semantic roles & 50–950 ramp

primary
#331035
secondary
#356F32
accent
#DD4B53
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#070207
muted
#7A787A

Preview Lab

Preview with #331035

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

Preview Lab → · Contrast checker → · Palette generator →

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