#2C0335#2C0335

#2C0335 is a very dark, moderate purple. Relative luminance 0.009; OKLCH L 21.8% C 0.097 H 319.6°. Best body text is #FFFFFF at 17.92:1 contrast (WCAG AA passes).

Color values

HEX#2C0335
RGBrgb(44, 3, 53)
HSLhsl(289, 89%, 11%)
HSVhsv(289, 94%, 21%)
CMYKcmyk(17%, 94.3%, 0%, 79.2%)
CIE-LABlab(7.75, 28.75, -22.30)
CIE-LCHlch(7.75, 36.39, 322.20°)
OKLaboklab(21.76% 0.0737 -0.0627)
OKLCHoklch(21.76% 0.097 319.6)
XYZxyz(1.7138, 0.8577, 3.4428)
Luminance0.0086 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C0335 #0C3503
analogous
#130335 #2C0335 #350325
triadic
#2C0335 #352C03 #03352C
tetradic
#2C0335 #351303 #0C3503 #032535
square
#2C0335 #351303 #0C3503 #032535
split-complementary
#2C0335 #253503 #033513
monochromatic
#18021D #18021D #2C0335 #5C066F #8C0AA9

Accessibility & contrast

On white

17.92
#2C0335 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C0335
17.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C0335#FFFFFF#000000##FFFFFF
##2C03351.0017.921.1717.92
#FFFFFF17.921.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001436
Deuteranopia (green-blind)
#061834
Tritanopia (blue-blind)
#2C0D1C
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #2c0335;
/* rgb */ color: rgb(44, 3, 53);
/* oklch */ color: oklch(21.8% 0.097 319.6);
Tailwind
colors: {
  custom: {
    50: '#68486c',
    500: '#2c0335',
    950: '#000000',
  },
}
SCSS
$custom: #2c0335;
$custom-light: #68486c;
$custom-dark: #000000;
JSON
{
  "hex": "#2c0335",
  "rgb": {
    "r": 44,
    "g": 3,
    "b": 53
  },
  "hsl": {
    "h": 289.2,
    "s": 89.286,
    "l": 10.98
  },
  "oklch": {
    "l": 0.21763,
    "c": 0.09681,
    "h": 319.6
  },
  "luminance": 0.00858
}

Semantic roles & 50–950 ramp

primary
#2C0335
secondary
#2C781C
accent
#FF294F
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060107
muted
#7A777A

Preview Lab

Preview with #2C0335

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

Preview Lab → · Contrast checker → · Palette generator →

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