#2C0F3A#2C0F3A

#2C0F3A is a very dark, moderate purple. Relative luminance 0.012; OKLCH L 23.8% C 0.083 H 312.9°. Best body text is #FFFFFF at 16.98:1 contrast (WCAG AA passes).

Color values

HEX#2C0F3A
RGBrgb(44, 15, 58)
HSLhsl(280, 59%, 14%)
HSVhsv(280, 74%, 23%)
CMYKcmyk(24.1%, 74.1%, 0%, 77.3%)
CIE-LABlab(10.43, 23.50, -21.61)
CIE-LCHlch(10.43, 31.93, 317.39°)
OKLaboklab(23.8% 0.0565 -0.0608)
OKLCHoklch(23.8% 0.083 312.9)
XYZxyz(1.9731, 1.1827, 4.1265)
Luminance0.0118 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C0F3A #1D3A0F
analogous
#170F3A #2C0F3A #3A0F33
triadic
#2C0F3A #3A2C0F #0F3A2C
tetradic
#2C0F3A #3A170F #1D3A0F #0F333A
square
#2C0F3A #3A170F #1D3A0F #0F333A
split-complementary
#2C0F3A #333A0F #0F3A17
monochromatic
#120618 #120618 #2C0F3A #511C6B #76289B

Accessibility & contrast

On white

16.98
#2C0F3A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.24
#2C0F3A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C0F3A
16.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C0F3A#FFFFFF#000000##FFFFFF
##2C0F3A1.0016.981.2416.98
#FFFFFF16.981.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#011B3B
Deuteranopia (green-blind)
#0C1D39
Tritanopia (blue-blind)
#2B1722
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #2c0f3a;
/* rgb */ color: rgb(44, 15, 58);
/* oklch */ color: oklch(23.8% 0.083 312.9);
Tailwind
colors: {
  custom: {
    50: '#674f70',
    500: '#2c0f3a',
    950: '#000000',
  },
}
SCSS
$custom: #2c0f3a;
$custom-light: #674f70;
$custom-dark: #000000;
JSON
{
  "hex": "#2c0f3a",
  "rgb": {
    "r": 44,
    "g": 15,
    "b": 58
  },
  "hsl": {
    "h": 280.465,
    "s": 58.904,
    "l": 14.314
  },
  "oklch": {
    "l": 0.23801,
    "c": 0.08301,
    "h": 312.9
  },
  "luminance": 0.01183
}

Semantic roles & 50–950 ramp

primary
#2C0F3A
secondary
#477430
accent
#E24679
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#060207
muted
#7A787A

Preview Lab

Preview with #2C0F3A

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

Preview Lab → · Contrast checker → · Palette generator →

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