#2C0F35#2C0F35

#2C0F35 is a very dark, moderate purple. Relative luminance 0.011; OKLCH L 23.4% C 0.077 H 317.4°. Best body text is #FFFFFF at 17.12:1 contrast (WCAG AA passes).

Color values

HEX#2C0F35
RGBrgb(44, 15, 53)
HSLhsl(286, 56%, 13%)
HSVhsv(286, 72%, 21%)
CMYKcmyk(17%, 71.7%, 0%, 79.2%)
CIE-LABlab(10.06, 22.21, -18.59)
CIE-LCHlch(10.06, 28.96, 320.07°)
OKLaboklab(23.42% 0.0566 -0.052)
OKLCHoklch(23.42% 0.077 317.4)
XYZxyz(1.8520, 1.1342, 3.4888)
Luminance0.0113 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C0F35 #18350F
analogous
#190F35 #2C0F35 #350F2B
triadic
#2C0F35 #352C0F #0F352C
tetradic
#2C0F35 #35190F #18350F #0F2B35
square
#2C0F35 #35190F #18350F #0F2B35
split-complementary
#2C0F35 #2B350F #0F3519
monochromatic
#140718 #140718 #2C0F35 #541C65 #7B2A94

Accessibility & contrast

On white

17.12
#2C0F35 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.23
#2C0F35 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C0F35
17.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C0F35#FFFFFF#000000##FFFFFF
##2C0F351.0017.121.2317.12
#FFFFFF17.121.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#051A36
Deuteranopia (green-blind)
#101D34
Tritanopia (blue-blind)
#2C1520
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #2c0f35;
/* rgb */ color: rgb(44, 15, 53);
/* oklch */ color: oklch(23.4% 0.077 317.4);
Tailwind
colors: {
  custom: {
    50: '#674f6c',
    500: '#2c0f35',
    950: '#000000',
  },
}
SCSS
$custom: #2c0f35;
$custom-light: #674f6c;
$custom-dark: #000000;
JSON
{
  "hex": "#2c0f35",
  "rgb": {
    "r": 44,
    "g": 15,
    "b": 53
  },
  "hsl": {
    "h": 285.789,
    "s": 55.882,
    "l": 13.333
  },
  "oklch": {
    "l": 0.23419,
    "c": 0.07681,
    "h": 317.4
  },
  "luminance": 0.01134
}

Semantic roles & 50–950 ramp

primary
#2C0F35
secondary
#3F6F31
accent
#DF496C
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060207
muted
#7A787A

Preview Lab

Preview with #2C0F35

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

Preview Lab → · Contrast checker → · Palette generator →

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