#2C0328#2C0328

#2C0328 is a very dark, moderate purple. Relative luminance 0.008; OKLCH L 20.7% C 0.085 H 332.5°. Best body text is #FFFFFF at 18.25:1 contrast (WCAG AA passes).

Color values

HEX#2C0328
RGBrgb(44, 3, 40)
HSLhsl(306, 87%, 9%)
HSVhsv(306, 93%, 17%)
CMYKcmyk(0%, 93.2%, 9.1%, 82.7%)
CIE-LABlab(6.81, 25.81, -14.10)
CIE-LCHlch(6.81, 29.41, 331.35°)
OKLaboklab(20.74% 0.0751 -0.0391)
OKLCHoklch(20.74% 0.085 332.5)
XYZxyz(1.4543, 0.7539, 2.0760)
Luminance0.0075 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C0328 #032C07
analogous
#1C032C #2C0328 #2C0314
triadic
#2C0328 #282C03 #03282C
tetradic
#2C0328 #2C1C03 #032C07 #03142C
square
#2C0328 #2C1C03 #032C07 #03142C
split-complementary
#2C0328 #142C03 #032C1C
monochromatic
#1D021A #1D021A #2C0328 #65075C #9F0B90

Accessibility & contrast

On white

18.25
#2C0328 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.15
#2C0328 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C0328
18.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C0328#FFFFFF#000000##FFFFFF
##2C03281.0018.251.1518.25
#FFFFFF18.251.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#011129
Deuteranopia (green-blind)
#101727
Tritanopia (blue-blind)
#2E0714
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #2c0328;
/* rgb */ color: rgb(44, 3, 40);
/* oklch */ color: oklch(20.7% 0.085 332.5);
Tailwind
colors: {
  custom: {
    50: '#674862',
    500: '#2c0328',
    950: '#000000',
  },
}
SCSS
$custom: #2c0328;
$custom-light: #674862;
$custom-dark: #000000;
JSON
{
  "hex": "#2c0328",
  "rgb": {
    "r": 44,
    "g": 3,
    "b": 40
  },
  "hsl": {
    "h": 305.854,
    "s": 87.234,
    "l": 9.216
  },
  "oklch": {
    "l": 0.20738,
    "c": 0.08469,
    "h": 332.5
  },
  "luminance": 0.00754
}

Semantic roles & 50–950 ramp

primary
#2C0328
secondary
#1B7023
accent
#FD3F2A
background
#F6F4F5
surface
#EBE6EA
border
#C6C2C6
text
#060005
muted
#7A7779

Preview Lab

Preview with #2C0328

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

Preview Lab → · Contrast checker → · Palette generator →

#2C0328 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva