#2C0330#2C0330

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

Color values

HEX#2C0330
RGBrgb(44, 3, 48)
HSLhsl(295, 88%, 10%)
HSVhsv(295, 94%, 19%)
CMYKcmyk(8.3%, 93.8%, 0%, 81.2%)
CIE-LABlab(7.35, 27.61, -19.24)
CIE-LCHlch(7.35, 33.65, 325.12°)
OKLaboklab(21.35% 0.0746 -0.0539)
OKLCHoklch(21.35% 0.092 324.2)
XYZxyz(1.6047, 0.8141, 2.8683)
Luminance0.0081 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C0330 #073003
analogous
#160330 #2C0330 #30031D
triadic
#2C0330 #302C03 #03302C
tetradic
#2C0330 #301603 #073003 #031D30
square
#2C0330 #301603 #073003 #031D30
split-complementary
#2C0330 #1D3003 #033016
monochromatic
#1A021D #1A021D #2C0330 #61076A #960AA3

Accessibility & contrast

On white

18.06
#2C0330 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C0330
18.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C0330#FFFFFF#000000##FFFFFF
##2C03301.0018.061.1618.06
#FFFFFF18.061.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.061.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2c0330;
/* rgb */ color: rgb(44, 3, 48);
/* oklch */ color: oklch(21.3% 0.092 324.2);
Tailwind
colors: {
  custom: {
    50: '#674868',
    500: '#2c0330',
    950: '#000000',
  },
}
SCSS
$custom: #2c0330;
$custom-light: #674868;
$custom-dark: #000000;
JSON
{
  "hex": "#2c0330",
  "rgb": {
    "r": 44,
    "g": 3,
    "b": 48
  },
  "hsl": {
    "h": 294.667,
    "s": 88.235,
    "l": 10
  },
  "oklch": {
    "l": 0.21345,
    "c": 0.09203,
    "h": 324.2
  },
  "luminance": 0.00814
}

Semantic roles & 50–950 ramp

primary
#2C0330
secondary
#23731B
accent
#FE293C
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060106
muted
#7A777A

Preview Lab

Preview with #2C0330

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

Preview Lab → · Contrast checker → · Palette generator →

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