#2C0A37#2C0A37

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

Color values

HEX#2C0A37
RGBrgb(44, 10, 55)
HSLhsl(285, 69%, 13%)
HSVhsv(285, 82%, 22%)
CMYKcmyk(20%, 81.8%, 0%, 78.4%)
CIE-LABlab(9.23, 25.44, -21.38)
CIE-LCHlch(9.23, 33.23, 319.96°)
OKLaboklab(22.86% 0.0636 -0.0601)
OKLCHoklch(22.86% 0.087 316.6)
XYZxyz(1.8367, 1.0285, 3.7155)
Luminance0.0103 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C0A37 #15370A
analogous
#150A37 #2C0A37 #370A2B
triadic
#2C0A37 #372C0A #0A372C
tetradic
#2C0A37 #37150A #15370A #0A2B37
square
#2C0A37 #37150A #15370A #0A2B37
split-complementary
#2C0A37 #2B370A #0A3715
monochromatic
#15051A #15051A #2C0A37 #55136B #7F1D9F

Accessibility & contrast

On white

17.42
#2C0A37 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#2C0A37 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C0A37
17.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C0A37#FFFFFF#000000##FFFFFF
##2C0A371.0017.421.2117.42
#FFFFFF17.421.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001838
Deuteranopia (green-blind)
#0A1B36
Tritanopia (blue-blind)
#2B131F
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #2c0a37;
/* rgb */ color: rgb(44, 10, 55);
/* oklch */ color: oklch(22.9% 0.087 316.6);
Tailwind
colors: {
  custom: {
    50: '#674c6e',
    500: '#2c0a37',
    950: '#000000',
  },
}
SCSS
$custom: #2c0a37;
$custom-light: #674c6e;
$custom-dark: #000000;
JSON
{
  "hex": "#2c0a37",
  "rgb": {
    "r": 44,
    "g": 10,
    "b": 55
  },
  "hsl": {
    "h": 285.333,
    "s": 69.231,
    "l": 12.745
  },
  "oklch": {
    "l": 0.22864,
    "c": 0.08749,
    "h": 316.6
  },
  "luminance": 0.01028
}

Semantic roles & 50–950 ramp

primary
#2C0A37
secondary
#3B7428
accent
#EC3C67
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#060107
muted
#7A777A

Preview Lab

Preview with #2C0A37

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

Preview Lab → · Contrast checker → · Palette generator →

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