#2C0D35#2C0D35

#2C0D35 is a very dark, moderate purple. Relative luminance 0.011; OKLCH L 23.1% C 0.080 H 317.9°. Best body text is #FFFFFF at 17.27:1 contrast (WCAG AA passes).

Color values

HEX#2C0D35
RGBrgb(44, 13, 53)
HSLhsl(287, 61%, 13%)
HSVhsv(287, 75%, 21%)
CMYKcmyk(17%, 75.5%, 0%, 79.2%)
CIE-LABlab(9.64, 23.36, -19.26)
CIE-LCHlch(9.64, 30.27, 320.50°)
OKLaboklab(23.12% 0.0596 -0.0539)
OKLCHoklch(23.12% 0.08 317.9)
XYZxyz(1.8251, 1.0804, 3.4799)
Luminance0.0108 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C0D35 #16350D
analogous
#180D35 #2C0D35 #350D2A
triadic
#2C0D35 #352C0D #0D352C
tetradic
#2C0D35 #35180D #16350D #0D2A35
square
#2C0D35 #35180D #16350D #0D2A35
split-complementary
#2C0D35 #2A350D #0D3518
monochromatic
#140619 #140619 #2C0D35 #551966 #7E2597

Accessibility & contrast

On white

17.27
#2C0D35 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.22
#2C0D35 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C0D35
17.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C0D35#FFFFFF#000000##FFFFFF
##2C0D351.0017.271.2217.27
#FFFFFF17.271.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#031936
Deuteranopia (green-blind)
#0F1C34
Tritanopia (blue-blind)
#2C141F
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #2c0d35;
/* rgb */ color: rgb(44, 13, 53);
/* oklch */ color: oklch(23.1% 0.080 317.9);
Tailwind
colors: {
  custom: {
    50: '#674e6c',
    500: '#2c0d35',
    950: '#000000',
  },
}
SCSS
$custom: #2c0d35;
$custom-light: #674e6c;
$custom-dark: #000000;
JSON
{
  "hex": "#2c0d35",
  "rgb": {
    "r": 44,
    "g": 13,
    "b": 53
  },
  "hsl": {
    "h": 286.5,
    "s": 60.606,
    "l": 12.941
  },
  "oklch": {
    "l": 0.23115,
    "c": 0.08034,
    "h": 317.9
  },
  "luminance": 0.0108
}

Semantic roles & 50–950 ramp

primary
#2C0D35
secondary
#3C702D
accent
#E44468
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060207
muted
#7A787A

Preview Lab

Preview with #2C0D35

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

Preview Lab → · Contrast checker → · Palette generator →

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