#2C0234#2C0234

#2C0234 is a very dark, moderate purple. Relative luminance 0.008; OKLCH L 21.5% C 0.098 H 320.7°. Best body text is #FFFFFF at 18.02:1 contrast (WCAG AA passes).

Color values

HEX#2C0234
RGBrgb(44, 2, 52)
HSLhsl(290, 93%, 11%)
HSVhsv(290, 96%, 20%)
CMYKcmyk(15.4%, 96.2%, 0%, 79.6%)
CIE-LABlab(7.47, 29.09, -22.01)
CIE-LCHlch(7.47, 36.48, 322.88°)
OKLaboklab(21.54% 0.0755 -0.0619)
OKLCHoklch(21.54% 0.098 320.7)
XYZxyz(1.6802, 0.8269, 3.3193)
Luminance0.0083 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C0234 #0A3402
analogous
#130234 #2C0234 #340223
triadic
#2C0234 #342C02 #02342C
tetradic
#2C0234 #341302 #0A3402 #022334
square
#2C0234 #341302 #0A3402 #022334
split-complementary
#2C0234 #233402 #023413
monochromatic
#19011D #19011D #2C0234 #5E046F #9007AA

Accessibility & contrast

On white

18.02
#2C0234 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.17
#2C0234 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C0234
18.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C0234#FFFFFF#000000##FFFFFF
##2C02341.0018.021.1718.02
#FFFFFF18.021.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF18.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001435
Deuteranopia (green-blind)
#061833
Tritanopia (blue-blind)
#2C0C1B
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #2c0234;
/* rgb */ color: rgb(44, 2, 52);
/* oklch */ color: oklch(21.5% 0.098 320.7);
Tailwind
colors: {
  custom: {
    50: '#68486c',
    500: '#2c0234',
    950: '#000000',
  },
}
SCSS
$custom: #2c0234;
$custom-light: #68486c;
$custom-dark: #000000;
JSON
{
  "hex": "#2c0234",
  "rgb": {
    "r": 44,
    "g": 2,
    "b": 52
  },
  "hsl": {
    "h": 290.4,
    "s": 92.593,
    "l": 10.588
  },
  "oklch": {
    "l": 0.21535,
    "c": 0.09767,
    "h": 320.7
  },
  "luminance": 0.00827
}

Semantic roles & 50–950 ramp

primary
#2C0234
secondary
#29781A
accent
#FF294B
background
#F6F4F6
surface
#EBE6EB
border
#C6C2C6
text
#060107
muted
#7A777A

Preview Lab

Preview with #2C0234

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

Preview Lab → · Contrast checker → · Palette generator →

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