#2C0B39#2C0B39

#2C0B39 is a very dark, moderate purple. Relative luminance 0.011; OKLCH L 23.2% C 0.088 H 314.7°. Best body text is #FFFFFF at 17.30:1 contrast (WCAG AA passes).

Color values

HEX#2C0B39
RGBrgb(44, 11, 57)
HSLhsl(283, 68%, 13%)
HSVhsv(283, 81%, 22%)
CMYKcmyk(22.8%, 80.7%, 0%, 77.6%)
CIE-LABlab(9.56, 25.43, -22.28)
CIE-LCHlch(9.56, 33.81, 318.78°)
OKLaboklab(23.16% 0.0621 -0.0627)
OKLCHoklch(23.16% 0.088 314.7)
XYZxyz(1.8968, 1.0703, 3.9768)
Luminance0.0107 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C0B39 #18390B
analogous
#150B39 #2C0B39 #390B2F
triadic
#2C0B39 #392C0B #0B392C
tetradic
#2C0B39 #39150B #18390B #0B2F39
square
#2C0B39 #39150B #18390B #0B2F39
split-complementary
#2C0B39 #2F390B #0B3915
monochromatic
#14051A #14051A #2C0B39 #54156C #7B1FA0

Accessibility & contrast

On white

17.30
#2C0B39 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#2C0B39 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C0B39
17.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C0B39#FFFFFF#000000##FFFFFF
##2C0B391.0017.301.2117.30
#FFFFFF17.301.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00193A
Deuteranopia (green-blind)
#091B38
Tritanopia (blue-blind)
#2B1421
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #2c0b39;
/* rgb */ color: rgb(44, 11, 57);
/* oklch */ color: oklch(23.2% 0.088 314.7);
Tailwind
colors: {
  custom: {
    50: '#674d70',
    500: '#2c0b39',
    950: '#000000',
  },
}
SCSS
$custom: #2c0b39;
$custom-light: #674d70;
$custom-dark: #000000;
JSON
{
  "hex": "#2c0b39",
  "rgb": {
    "r": 44,
    "g": 11,
    "b": 57
  },
  "hsl": {
    "h": 283.043,
    "s": 67.647,
    "l": 13.333
  },
  "oklch": {
    "l": 0.23155,
    "c": 0.08828,
    "h": 314.7
  },
  "luminance": 0.0107
}

Semantic roles & 50–950 ramp

primary
#2C0B39
secondary
#3F762A
accent
#EB3D6E
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#060107
muted
#7A777A

Preview Lab

Preview with #2C0B39

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

Preview Lab → · Contrast checker → · Palette generator →

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