#2C0235#2C0235

#2C0235 is a very dark, moderate purple. Relative luminance 0.008; OKLCH L 21.6% C 0.099 H 319.8°. Best body text is #FFFFFF at 17.99:1 contrast (WCAG AA passes).

Color values

HEX#2C0235
RGBrgb(44, 2, 53)
HSLhsl(289, 93%, 11%)
HSVhsv(289, 96%, 21%)
CMYKcmyk(17%, 96.2%, 0%, 79.2%)
CIE-LABlab(7.55, 29.32, -22.61)
CIE-LCHlch(7.55, 37.03, 322.36°)
OKLaboklab(21.62% 0.0753 -0.0637)
OKLCHoklch(21.62% 0.099 319.8)
XYZxyz(1.7029, 0.8360, 3.4391)
Luminance0.0084 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C0235 #0B3502
analogous
#120235 #2C0235 #350224
triadic
#2C0235 #352C02 #02352C
tetradic
#2C0235 #351202 #0B3502 #022435
square
#2C0235 #351202 #0B3502 #022435
split-complementary
#2C0235 #243502 #023512
monochromatic
#18011D #18011D #2C0235 #5D0470 #8E06AB

Accessibility & contrast

On white

17.99
#2C0235 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C0235
17.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C0235#FFFFFF#000000##FFFFFF
##2C02351.0017.991.1717.99
#FFFFFF17.991.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.991.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2c0235;
/* rgb */ color: rgb(44, 2, 53);
/* oklch */ color: oklch(21.6% 0.099 319.8);
Tailwind
colors: {
  custom: {
    50: '#68486c',
    500: '#2c0235',
    950: '#000000',
  },
}
SCSS
$custom: #2c0235;
$custom-light: #68486c;
$custom-dark: #000000;
JSON
{
  "hex": "#2c0235",
  "rgb": {
    "r": 44,
    "g": 2,
    "b": 53
  },
  "hsl": {
    "h": 289.412,
    "s": 92.727,
    "l": 10.784
  },
  "oklch": {
    "l": 0.21622,
    "c": 0.09861,
    "h": 319.8
  },
  "luminance": 0.00836
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2C0235

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

Preview Lab → · Contrast checker → · Palette generator →

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