#2C0734#2C0734

#2C0734 is a very dark, moderate purple. Relative luminance 0.009; OKLCH L 22.2% C 0.089 H 319.9°. Best body text is #FFFFFF at 17.69:1 contrast (WCAG AA passes).

Color values

HEX#2C0734
RGBrgb(44, 7, 52)
HSLhsl(289, 76%, 12%)
HSVhsv(289, 87%, 20%)
CMYKcmyk(15.4%, 86.5%, 0%, 79.6%)
CIE-LABlab(8.44, 26.28, -20.45)
CIE-LCHlch(8.44, 33.30, 322.11°)
OKLaboklab(22.23% 0.068 -0.0573)
OKLCHoklch(22.23% 0.089 319.9)
XYZxyz(1.7344, 0.9355, 3.3373)
Luminance0.0094 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C0734 #0F3407
analogous
#160734 #2C0734 #340726
triadic
#2C0734 #342C07 #07342C
tetradic
#2C0734 #341607 #0F3407 #072634
square
#2C0734 #341607 #0F3407 #072634
split-complementary
#2C0734 #263407 #073416
monochromatic
#17041B #17041B #2C0734 #5A0E6A #8716A0

Accessibility & contrast

On white

17.69
#2C0734 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C0734
17.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C0734#FFFFFF#000000##FFFFFF
##2C07341.0017.691.1917.69
#FFFFFF17.691.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.691.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2c0734;
/* rgb */ color: rgb(44, 7, 52);
/* oklch */ color: oklch(22.2% 0.089 319.9);
Tailwind
colors: {
  custom: {
    50: '#674b6c',
    500: '#2c0734',
    950: '#000000',
  },
}
SCSS
$custom: #2c0734;
$custom-light: #674b6c;
$custom-dark: #000000;
JSON
{
  "hex": "#2c0734",
  "rgb": {
    "r": 44,
    "g": 7,
    "b": 52
  },
  "hsl": {
    "h": 289.333,
    "s": 76.271,
    "l": 11.569
  },
  "oklch": {
    "l": 0.22229,
    "c": 0.08893,
    "h": 319.9
  },
  "luminance": 0.00935
}

Semantic roles & 50–950 ramp

primary
#2C0734
secondary
#317423
accent
#F33557
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060107
muted
#7A777A

Preview Lab

Preview with #2C0734

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

Preview Lab → · Contrast checker → · Palette generator →

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