#2C0334#2C0334

#2C0334 is a very dark, moderate purple. Relative luminance 0.008; OKLCH L 21.7% C 0.096 H 320.5°. Best body text is #FFFFFF at 17.95:1 contrast (WCAG AA passes).

Color values

HEX#2C0334
RGBrgb(44, 3, 52)
HSLhsl(290, 89%, 11%)
HSVhsv(290, 94%, 20%)
CMYKcmyk(15.4%, 94.2%, 0%, 79.6%)
CIE-LABlab(7.67, 28.52, -21.70)
CIE-LCHlch(7.67, 35.84, 322.74°)
OKLaboklab(21.68% 0.074 -0.061)
OKLCHoklch(21.68% 0.096 320.5)
XYZxyz(1.6910, 0.8486, 3.3229)
Luminance0.0085 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C0334 #0B3403
analogous
#130334 #2C0334 #340323
triadic
#2C0334 #342C03 #03342C
tetradic
#2C0334 #341303 #0B3403 #032334
square
#2C0334 #341303 #0B3403 #032334
split-complementary
#2C0334 #233403 #033413
monochromatic
#18021D #18021D #2C0334 #5D066E #8E0AA8

Accessibility & contrast

On white

17.95
#2C0334 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.17
#2C0334 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C0334
17.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C0334#FFFFFF#000000##FFFFFF
##2C03341.0017.951.1717.95
#FFFFFF17.951.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001435
Deuteranopia (green-blind)
#071833
Tritanopia (blue-blind)
#2C0D1B
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #2c0334;
/* rgb */ color: rgb(44, 3, 52);
/* oklch */ color: oklch(21.7% 0.096 320.5);
Tailwind
colors: {
  custom: {
    50: '#68486c',
    500: '#2c0334',
    950: '#000000',
  },
}
SCSS
$custom: #2c0334;
$custom-light: #68486c;
$custom-dark: #000000;
JSON
{
  "hex": "#2c0334",
  "rgb": {
    "r": 44,
    "g": 3,
    "b": 52
  },
  "hsl": {
    "h": 290.204,
    "s": 89.091,
    "l": 10.784
  },
  "oklch": {
    "l": 0.21678,
    "c": 0.09584,
    "h": 320.5
  },
  "luminance": 0.00849
}

Semantic roles & 50–950 ramp

primary
#2C0334
secondary
#2B771C
accent
#FF294C
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060107
muted
#7A777A

Preview Lab

Preview with #2C0334

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

Preview Lab → · Contrast checker → · Palette generator →

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