#2C0F38#2C0F38

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

Color values

HEX#2C0F38
RGBrgb(44, 15, 56)
HSLhsl(282, 58%, 14%)
HSVhsv(282, 73%, 22%)
CMYKcmyk(21.4%, 73.2%, 0%, 78%)
CIE-LABlab(10.28, 22.98, -20.41)
CIE-LCHlch(10.28, 30.73, 318.38°)
OKLaboklab(23.65% 0.0566 -0.0573)
OKLCHoklch(23.65% 0.081 314.6)
XYZxyz(1.9232, 1.1627, 3.8637)
Luminance0.0116 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C0F38 #1B380F
analogous
#180F38 #2C0F38 #380F30
triadic
#2C0F38 #382C0F #0F382C
tetradic
#2C0F38 #38180F #1B380F #0F3038
square
#2C0F38 #38180F #1B380F #0F3038
split-complementary
#2C0F38 #30380F #0F3818
monochromatic
#130618 #130618 #2C0F38 #521C68 #782999

Accessibility & contrast

On white

17.04
#2C0F38 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C0F38
17.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C0F38#FFFFFF#000000##FFFFFF
##2C0F381.0017.041.2317.04
#FFFFFF17.041.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#031A39
Deuteranopia (green-blind)
#0E1D37
Tritanopia (blue-blind)
#2B1721
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #2c0f38;
/* rgb */ color: rgb(44, 15, 56);
/* oklch */ color: oklch(23.6% 0.081 314.6);
Tailwind
colors: {
  custom: {
    50: '#674f6f',
    500: '#2c0f38',
    950: '#000000',
  },
}
SCSS
$custom: #2c0f38;
$custom-light: #674f6f;
$custom-dark: #000000;
JSON
{
  "hex": "#2c0f38",
  "rgb": {
    "r": 44,
    "g": 15,
    "b": 56
  },
  "hsl": {
    "h": 282.439,
    "s": 57.746,
    "l": 13.922
  },
  "oklch": {
    "l": 0.23645,
    "c": 0.08052,
    "h": 314.6
  },
  "luminance": 0.01163
}

Semantic roles & 50–950 ramp

primary
#2C0F38
secondary
#447230
accent
#E14774
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#060207
muted
#7A787A

Preview Lab

Preview with #2C0F38

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

Preview Lab → · Contrast checker → · Palette generator →

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