#2C0136#2C0136

#2C0136 is a very dark, moderate purple. Relative luminance 0.008; OKLCH L 21.6% C 0.101 H 319.1°. Best body text is #FFFFFF at 18.03:1 contrast (WCAG AA passes).

Color values

HEX#2C0136
RGBrgb(44, 1, 54)
HSLhsl(289, 96%, 11%)
HSVhsv(289, 98%, 21%)
CMYKcmyk(18.5%, 98.1%, 0%, 78.8%)
CIE-LABlab(7.44, 30.12, -23.53)
CIE-LCHlch(7.44, 38.22, 322.00°)
OKLaboklab(21.57% 0.0766 -0.0664)
OKLCHoklch(21.57% 0.101 319.1)
XYZxyz(1.7153, 0.8236, 3.5579)
Luminance0.0082 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C0136 #0B3601
analogous
#110136 #2C0136 #360125
triadic
#2C0136 #362C01 #01362C
tetradic
#2C0136 #361101 #0B3601 #012536
square
#2C0136 #361101 #0B3601 #012536
split-complementary
#2C0136 #253601 #013611
monochromatic
#18011E #18011E #2C0136 #5D0272 #8E03AE

Accessibility & contrast

On white

18.03
#2C0136 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.16
#2C0136 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C0136
18.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C0136#FFFFFF#000000##FFFFFF
##2C01361.0018.031.1618.03
#FFFFFF18.031.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001437
Deuteranopia (green-blind)
#041835
Tritanopia (blue-blind)
#2C0C1C
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #2c0136;
/* rgb */ color: rgb(44, 1, 54);
/* oklch */ color: oklch(21.6% 0.101 319.1);
Tailwind
colors: {
  custom: {
    50: '#68476d',
    500: '#2c0136',
    950: '#000000',
  },
}
SCSS
$custom: #2c0136;
$custom-light: #68476d;
$custom-dark: #000000;
JSON
{
  "hex": "#2c0136",
  "rgb": {
    "r": 44,
    "g": 1,
    "b": 54
  },
  "hsl": {
    "h": 288.679,
    "s": 96.364,
    "l": 10.784
  },
  "oklch": {
    "l": 0.21568,
    "c": 0.10135,
    "h": 319.1
  },
  "luminance": 0.00824
}

Semantic roles & 50–950 ramp

primary
#2C0136
secondary
#2B7B18
accent
#FF2951
background
#F6F4F6
surface
#EBE6EB
border
#C6C2C6
text
#060007
muted
#7A777A

Preview Lab

Preview with #2C0136

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

Preview Lab → · Contrast checker → · Palette generator →

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