#2C0226#2C0226

#2C0226 is a very dark, moderate purple. Relative luminance 0.007; OKLCH L 20.4% C 0.085 H 334.7°. Best body text is #FFFFFF at 18.36:1 contrast (WCAG AA passes).

Color values

HEX#2C0226
RGBrgb(44, 2, 38)
HSLhsl(309, 91%, 9%)
HSVhsv(309, 95%, 17%)
CMYKcmyk(0%, 95.5%, 13.6%, 82.7%)
CIE-LABlab(6.49, 25.91, -13.07)
CIE-LCHlch(6.49, 29.02, 333.23°)
OKLaboklab(20.44% 0.077 -0.0363)
OKLCHoklch(20.44% 0.085 334.7)
XYZxyz(1.4103, 0.7190, 1.8978)
Luminance0.0072 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C0226 #022C08
analogous
#1D022C #2C0226 #2C0211
triadic
#2C0226 #262C02 #02262C
tetradic
#2C0226 #2C1D02 #022C08 #02112C
square
#2C0226 #2C1D02 #022C08 #02112C
split-complementary
#2C0226 #112C02 #022C1D
monochromatic
#1D0119 #1D0119 #2C0226 #670559 #A1078B

Accessibility & contrast

On white

18.36
#2C0226 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.14
#2C0226 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C0226
18.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C0226#FFFFFF#000000##FFFFFF
##2C02261.0018.361.1418.36
#FFFFFF18.361.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#021027
Deuteranopia (green-blind)
#101725
Tritanopia (blue-blind)
#2F0513
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #2c0226;
/* rgb */ color: rgb(44, 2, 38);
/* oklch */ color: oklch(20.4% 0.085 334.7);
Tailwind
colors: {
  custom: {
    50: '#674760',
    500: '#2c0226',
    950: '#000000',
  },
}
SCSS
$custom: #2c0226;
$custom-light: #674760;
$custom-dark: #000000;
JSON
{
  "hex": "#2c0226",
  "rgb": {
    "r": 44,
    "g": 2,
    "b": 38
  },
  "hsl": {
    "h": 308.571,
    "s": 91.304,
    "l": 9.02
  },
  "oklch": {
    "l": 0.20439,
    "c": 0.08511,
    "h": 334.7
  },
  "luminance": 0.00719
}

Semantic roles & 50–950 ramp

primary
#2C0226
secondary
#197125
accent
#FF4729
background
#F6F4F5
surface
#EBE6E9
border
#C6C2C5
text
#060005
muted
#7A7779

Preview Lab

Preview with #2C0226

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

Preview Lab → · Contrast checker → · Palette generator →

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