#2C0833#2C0833

#2C0833 is a very dark, moderate purple. Relative luminance 0.009; OKLCH L 22.3% C 0.086 H 320.6°. Best body text is #FFFFFF at 17.65:1 contrast (WCAG AA passes).

Color values

HEX#2C0833
RGBrgb(44, 8, 51)
HSLhsl(290, 73%, 12%)
HSVhsv(290, 84%, 20%)
CMYKcmyk(13.7%, 84.3%, 0%, 80%)
CIE-LABlab(8.55, 25.52, -19.54)
CIE-LCHlch(8.55, 32.14, 322.56°)
OKLaboklab(22.28% 0.0667 -0.0547)
OKLCHoklch(22.28% 0.086 320.6)
XYZxyz(1.7230, 0.9482, 3.2236)
Luminance0.0095 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C0833 #0F3308
analogous
#170833 #2C0833 #330825
triadic
#2C0833 #332C08 #08332C
tetradic
#2C0833 #331708 #0F3308 #082533
square
#2C0833 #331708 #0F3308 #082533
split-complementary
#2C0833 #253308 #083317
monochromatic
#17041A #17041A #2C0833 #5A1068 #87199D

Accessibility & contrast

On white

17.65
#2C0833 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.19
#2C0833 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C0833
17.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C0833#FFFFFF#000000##FFFFFF
##2C08331.0017.651.1917.65
#FFFFFF17.651.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001634
Deuteranopia (green-blind)
#0C1A32
Tritanopia (blue-blind)
#2C101C
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #2c0833;
/* rgb */ color: rgb(44, 8, 51);
/* oklch */ color: oklch(22.3% 0.086 320.6);
Tailwind
colors: {
  custom: {
    50: '#674b6b',
    500: '#2c0833',
    950: '#000000',
  },
}
SCSS
$custom: #2c0833;
$custom-light: #674b6b;
$custom-dark: #000000;
JSON
{
  "hex": "#2c0833",
  "rgb": {
    "r": 44,
    "g": 8,
    "b": 51
  },
  "hsl": {
    "h": 290.233,
    "s": 72.881,
    "l": 11.569
  },
  "oklch": {
    "l": 0.22284,
    "c": 0.08622,
    "h": 320.6
  },
  "luminance": 0.00948
}

Semantic roles & 50–950 ramp

primary
#2C0833
secondary
#317225
accent
#F03856
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060106
muted
#7A777A

Preview Lab

Preview with #2C0833

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

Preview Lab → · Contrast checker → · Palette generator →

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