#2C0E36#2C0E36

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

Color values

HEX#2C0E36
RGBrgb(44, 14, 54)
HSLhsl(285, 59%, 13%)
HSVhsv(285, 74%, 21%)
CMYKcmyk(18.5%, 74.1%, 0%, 78.8%)
CIE-LABlab(9.92, 23.04, -19.54)
CIE-LCHlch(9.92, 30.21, 319.70°)
OKLaboklab(23.34% 0.0581 -0.0547)
OKLCHoklch(23.34% 0.08 316.7)
XYZxyz(1.8615, 1.1160, 3.6067)
Luminance0.0112 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C0E36 #18360E
analogous
#180E36 #2C0E36 #360E2C
triadic
#2C0E36 #362C0E #0E362C
tetradic
#2C0E36 #36180E #18360E #0E2C36
square
#2C0E36 #36180E #18360E #0E2C36
split-complementary
#2C0E36 #2C360E #0E3618
monochromatic
#140618 #140618 #2C0E36 #541B67 #7B2797

Accessibility & contrast

On white

17.17
#2C0E36 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C0E36
17.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C0E36#FFFFFF#000000##FFFFFF
##2C0E361.0017.171.2217.17
#FFFFFF17.171.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#031937
Deuteranopia (green-blind)
#0F1C35
Tritanopia (blue-blind)
#2C1520
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #2c0e36;
/* rgb */ color: rgb(44, 14, 54);
/* oklch */ color: oklch(23.3% 0.080 316.7);
Tailwind
colors: {
  custom: {
    50: '#674f6d',
    500: '#2c0e36',
    950: '#000000',
  },
}
SCSS
$custom: #2c0e36;
$custom-light: #674f6d;
$custom-dark: #000000;
JSON
{
  "hex": "#2c0e36",
  "rgb": {
    "r": 44,
    "g": 14,
    "b": 54
  },
  "hsl": {
    "h": 285,
    "s": 58.824,
    "l": 13.333
  },
  "oklch": {
    "l": 0.2334,
    "c": 0.07981,
    "h": 316.7
  },
  "luminance": 0.01116
}

Semantic roles & 50–950 ramp

primary
#2C0E36
secondary
#3F712F
accent
#E2466D
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060207
muted
#7A787A

Preview Lab

Preview with #2C0E36

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

Preview Lab → · Contrast checker → · Palette generator →

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