#2C0A35#2C0A35

#2C0A35 is a very dark, moderate purple. Relative luminance 0.010; OKLCH L 22.7% C 0.085 H 318.4°. Best body text is #FFFFFF at 17.47:1 contrast (WCAG AA passes).

Color values

HEX#2C0A35
RGBrgb(44, 10, 53)
HSLhsl(287, 68%, 12%)
HSVhsv(287, 81%, 21%)
CMYKcmyk(17%, 81.1%, 0%, 79.2%)
CIE-LABlab(9.07, 24.95, -20.17)
CIE-LCHlch(9.07, 32.09, 321.05°)
OKLaboklab(22.7% 0.0638 -0.0565)
OKLCHoklch(22.7% 0.085 318.4)
XYZxyz(1.7898, 1.0097, 3.4681)
Luminance0.0101 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C0A35 #13350A
analogous
#170A35 #2C0A35 #350A29
triadic
#2C0A35 #352C0A #0A352C
tetradic
#2C0A35 #35170A #13350A #0A2935
square
#2C0A35 #35170A #13350A #0A2935
split-complementary
#2C0A35 #29350A #0A3517
monochromatic
#15051A #15051A #2C0A35 #571468 #811D9C

Accessibility & contrast

On white

17.47
#2C0A35 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C0A35
17.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C0A35#FFFFFF#000000##FFFFFF
##2C0A351.0017.471.2017.47
#FFFFFF17.471.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001736
Deuteranopia (green-blind)
#0C1B34
Tritanopia (blue-blind)
#2C121E
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #2c0a35;
/* rgb */ color: rgb(44, 10, 53);
/* oklch */ color: oklch(22.7% 0.085 318.4);
Tailwind
colors: {
  custom: {
    50: '#674c6c',
    500: '#2c0a35',
    950: '#000000',
  },
}
SCSS
$custom: #2c0a35;
$custom-light: #674c6c;
$custom-dark: #000000;
JSON
{
  "hex": "#2c0a35",
  "rgb": {
    "r": 44,
    "g": 10,
    "b": 53
  },
  "hsl": {
    "h": 287.442,
    "s": 68.254,
    "l": 12.353
  },
  "oklch": {
    "l": 0.22704,
    "c": 0.08523,
    "h": 318.4
  },
  "luminance": 0.0101
}

Semantic roles & 50–950 ramp

primary
#2C0A35
secondary
#387228
accent
#EB3D61
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060107
muted
#7A777A

Preview Lab

Preview with #2C0A35

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

Preview Lab → · Contrast checker → · Palette generator →

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