#2C0834#2C0834

#2C0834 is a very dark, moderate purple. Relative luminance 0.010; OKLCH L 22.4% C 0.087 H 319.7°. Best body text is #FFFFFF at 17.63:1 contrast (WCAG AA passes).

Color values

HEX#2C0834
RGBrgb(44, 8, 52)
HSLhsl(289, 73%, 12%)
HSVhsv(289, 85%, 20%)
CMYKcmyk(15.4%, 84.6%, 0%, 79.6%)
CIE-LABlab(8.63, 25.75, -20.15)
CIE-LCHlch(8.63, 32.69, 321.96°)
OKLaboklab(22.36% 0.0666 -0.0565)
OKLCHoklch(22.36% 0.087 319.7)
XYZxyz(1.7453, 0.9572, 3.3410)
Luminance0.0096 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C0834 #103408
analogous
#160834 #2C0834 #340826
triadic
#2C0834 #342C08 #08342C
tetradic
#2C0834 #341608 #103408 #082634
square
#2C0834 #341608 #103408 #082634
split-complementary
#2C0834 #263408 #083416
monochromatic
#16041B #16041B #2C0834 #591069 #86189E

Accessibility & contrast

On white

17.63
#2C0834 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C0834
17.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C0834#FFFFFF#000000##FFFFFF
##2C08341.0017.631.1917.63
#FFFFFF17.631.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001635
Deuteranopia (green-blind)
#0C1A33
Tritanopia (blue-blind)
#2C101D
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #2c0834;
/* rgb */ color: rgb(44, 8, 52);
/* oklch */ color: oklch(22.4% 0.087 319.7);
Tailwind
colors: {
  custom: {
    50: '#674b6c',
    500: '#2c0834',
    950: '#000000',
  },
}
SCSS
$custom: #2c0834;
$custom-light: #674b6c;
$custom-dark: #000000;
JSON
{
  "hex": "#2c0834",
  "rgb": {
    "r": 44,
    "g": 8,
    "b": 52
  },
  "hsl": {
    "h": 289.091,
    "s": 73.333,
    "l": 11.765
  },
  "oklch": {
    "l": 0.22363,
    "c": 0.0873,
    "h": 319.7
  },
  "luminance": 0.00957
}

Semantic roles & 50–950 ramp

primary
#2C0834
secondary
#337325
accent
#F03859
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060107
muted
#7A777A

Preview Lab

Preview with #2C0834

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

Preview Lab → · Contrast checker → · Palette generator →

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