#2C0935#2C0935

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

Color values

HEX#2C0935
RGBrgb(44, 9, 53)
HSLhsl(288, 71%, 12%)
HSVhsv(288, 83%, 21%)
CMYKcmyk(17%, 83%, 0%, 79.2%)
CIE-LABlab(8.89, 25.46, -20.46)
CIE-LCHlch(8.89, 32.66, 321.22°)
OKLaboklab(22.57% 0.0651 -0.0574)
OKLCHoklch(22.57% 0.087 318.6)
XYZxyz(1.7789, 0.9880, 3.4645)
Luminance0.0099 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C0935 #123509
analogous
#160935 #2C0935 #350928
triadic
#2C0935 #352C09 #09352C
tetradic
#2C0935 #351609 #123509 #092835
square
#2C0935 #351609 #123509 #092835
split-complementary
#2C0935 #283509 #093516
monochromatic
#16041A #16041A #2C0935 #571269 #831B9E

Accessibility & contrast

On white

17.54
#2C0935 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#2C0935 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C0935
17.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C0935#FFFFFF#000000##FFFFFF
##2C09351.0017.541.2017.54
#FFFFFF17.541.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001736
Deuteranopia (green-blind)
#0B1A34
Tritanopia (blue-blind)
#2C111E
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #2c0935;
/* rgb */ color: rgb(44, 9, 53);
/* oklch */ color: oklch(22.6% 0.087 318.6);
Tailwind
colors: {
  custom: {
    50: '#674c6c',
    500: '#2c0935',
    950: '#000000',
  },
}
SCSS
$custom: #2c0935;
$custom-light: #674c6c;
$custom-dark: #000000;
JSON
{
  "hex": "#2c0935",
  "rgb": {
    "r": 44,
    "g": 9,
    "b": 53
  },
  "hsl": {
    "h": 287.727,
    "s": 70.968,
    "l": 12.157
  },
  "oklch": {
    "l": 0.22574,
    "c": 0.08678,
    "h": 318.6
  },
  "luminance": 0.00988
}

Semantic roles & 50–950 ramp

primary
#2C0935
secondary
#367327
accent
#EE3A5F
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060107
muted
#7A777A

Preview Lab

Preview with #2C0935

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

Preview Lab → · Contrast checker → · Palette generator →

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