#2C0230#2C0230

#2C0230 is a very dark, moderate purple. Relative luminance 0.008; OKLCH L 21.2% C 0.094 H 324.3°. Best body text is #FFFFFF at 18.13:1 contrast (WCAG AA passes).

Color values

HEX#2C0230
RGBrgb(44, 2, 48)
HSLhsl(295, 92%, 10%)
HSVhsv(295, 96%, 19%)
CMYKcmyk(8.3%, 95.8%, 0%, 81.2%)
CIE-LABlab(7.16, 28.16, -19.56)
CIE-LCHlch(7.16, 34.29, 325.22°)
OKLaboklab(21.2% 0.0763 -0.0548)
OKLCHoklch(21.2% 0.094 324.3)
XYZxyz(1.5939, 0.7924, 2.8647)
Luminance0.0079 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C0230 #063002
analogous
#150230 #2C0230 #30021D
triadic
#2C0230 #302C02 #02302C
tetradic
#2C0230 #301502 #063002 #021D30
square
#2C0230 #301502 #063002 #021D30
split-complementary
#2C0230 #1D3002 #023015
monochromatic
#1B011D #1B011D #2C0230 #62046B #9807A6

Accessibility & contrast

On white

18.13
#2C0230 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C0230
18.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C0230#FFFFFF#000000##FFFFFF
##2C02301.0018.131.1618.13
#FFFFFF18.131.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001331
Deuteranopia (green-blind)
#0A182F
Tritanopia (blue-blind)
#2D0A19
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #2c0230;
/* rgb */ color: rgb(44, 2, 48);
/* oklch */ color: oklch(21.2% 0.094 324.3);
Tailwind
colors: {
  custom: {
    50: '#674868',
    500: '#2c0230',
    950: '#000000',
  },
}
SCSS
$custom: #2c0230;
$custom-light: #674868;
$custom-dark: #000000;
JSON
{
  "hex": "#2c0230",
  "rgb": {
    "r": 44,
    "g": 2,
    "b": 48
  },
  "hsl": {
    "h": 294.783,
    "s": 92,
    "l": 9.804
  },
  "oklch": {
    "l": 0.21198,
    "c": 0.09396,
    "h": 324.3
  },
  "luminance": 0.00792
}

Semantic roles & 50–950 ramp

primary
#2C0230
secondary
#217519
accent
#FF293B
background
#F6F4F6
surface
#EBE6EB
border
#C6C2C6
text
#060006
muted
#7A777A

Preview Lab

Preview with #2C0230

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

Preview Lab → · Contrast checker → · Palette generator →

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