#2C0231#2C0231

#2C0231 is a very dark, moderate purple. Relative luminance 0.008; OKLCH L 21.3% C 0.095 H 323.4°. Best body text is #FFFFFF at 18.10:1 contrast (WCAG AA passes).

Color values

HEX#2C0231
RGBrgb(44, 2, 49)
HSLhsl(294, 92%, 10%)
HSVhsv(294, 96%, 19%)
CMYKcmyk(10.2%, 95.9%, 0%, 80.8%)
CIE-LABlab(7.23, 28.39, -20.18)
CIE-LCHlch(7.23, 34.83, 324.60°)
OKLaboklab(21.28% 0.0761 -0.0566)
OKLCHoklch(21.28% 0.095 323.4)
XYZxyz(1.6147, 0.8007, 2.9746)
Luminance0.0080 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C0231 #073102
analogous
#140231 #2C0231 #31021F
triadic
#2C0231 #312C02 #02312C
tetradic
#2C0231 #311402 #073102 #021F31
square
#2C0231 #311402 #073102 #021F31
split-complementary
#2C0231 #1F3102 #023114
monochromatic
#1A011D #1A011D #2C0231 #61046C #9607A7

Accessibility & contrast

On white

18.10
#2C0231 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C0231
18.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C0231#FFFFFF#000000##FFFFFF
##2C02311.0018.101.1618.10
#FFFFFF18.101.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001332
Deuteranopia (green-blind)
#091830
Tritanopia (blue-blind)
#2D0A19
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #2c0231;
/* rgb */ color: rgb(44, 2, 49);
/* oklch */ color: oklch(21.3% 0.095 323.4);
Tailwind
colors: {
  custom: {
    50: '#684869',
    500: '#2c0231',
    950: '#000000',
  },
}
SCSS
$custom: #2c0231;
$custom-light: #684869;
$custom-dark: #000000;
JSON
{
  "hex": "#2c0231",
  "rgb": {
    "r": 44,
    "g": 2,
    "b": 49
  },
  "hsl": {
    "h": 293.617,
    "s": 92.157,
    "l": 10
  },
  "oklch": {
    "l": 0.21281,
    "c": 0.09488,
    "h": 323.4
  },
  "luminance": 0.00801
}

Semantic roles & 50–950 ramp

primary
#2C0231
secondary
#237519
accent
#FF2940
background
#F6F4F6
surface
#EBE6EB
border
#C6C2C6
text
#060006
muted
#7A777A

Preview Lab

Preview with #2C0231

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

Preview Lab → · Contrast checker → · Palette generator →

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