#2C0F37#2C0F37

#2C0F37 is a very dark, moderate purple. Relative luminance 0.012; OKLCH L 23.6% C 0.079 H 315.5°. Best body text is #FFFFFF at 17.06:1 contrast (WCAG AA passes).

Color values

HEX#2C0F37
RGBrgb(44, 15, 55)
HSLhsl(284, 57%, 14%)
HSVhsv(284, 73%, 22%)
CMYKcmyk(20%, 72.7%, 0%, 78.4%)
CIE-LABlab(10.21, 22.72, -19.81)
CIE-LCHlch(10.21, 30.14, 318.91°)
OKLaboklab(23.57% 0.0566 -0.0555)
OKLCHoklch(23.57% 0.079 315.5)
XYZxyz(1.8990, 1.1530, 3.7362)
Luminance0.0115 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C0F37 #1A370F
analogous
#180F37 #2C0F37 #370F2E
triadic
#2C0F37 #372C0F #0F372C
tetradic
#2C0F37 #37180F #1A370F #0F2E37
square
#2C0F37 #37180F #1A370F #0F2E37
split-complementary
#2C0F37 #2E370F #0F3718
monochromatic
#130718 #130718 #2C0F37 #521C67 #792997

Accessibility & contrast

On white

17.06
#2C0F37 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C0F37
17.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C0F37#FFFFFF#000000##FFFFFF
##2C0F371.0017.061.2317.06
#FFFFFF17.061.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#031A38
Deuteranopia (green-blind)
#0F1D36
Tritanopia (blue-blind)
#2B1621
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #2c0f37;
/* rgb */ color: rgb(44, 15, 55);
/* oklch */ color: oklch(23.6% 0.079 315.5);
Tailwind
colors: {
  custom: {
    50: '#674f6e',
    500: '#2c0f37',
    950: '#000000',
  },
}
SCSS
$custom: #2c0f37;
$custom-light: #674f6e;
$custom-dark: #000000;
JSON
{
  "hex": "#2c0f37",
  "rgb": {
    "r": 44,
    "g": 15,
    "b": 55
  },
  "hsl": {
    "h": 283.5,
    "s": 57.143,
    "l": 13.725
  },
  "oklch": {
    "l": 0.23569,
    "c": 0.07928,
    "h": 315.5
  },
  "luminance": 0.01153
}

Semantic roles & 50–950 ramp

primary
#2C0F37
secondary
#427131
accent
#E04771
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#060207
muted
#7A787A

Preview Lab

Preview with #2C0F37

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

Preview Lab → · Contrast checker → · Palette generator →

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