#2C0447#2C0447

#2C0447 is a very dark, moderate violet. Relative luminance 0.011; OKLCH L 23.6% C 0.113 H 306.1°. Best body text is #FFFFFF at 17.28:1 contrast (WCAG AA passes).

Color values

HEX#2C0447
RGBrgb(44, 4, 71)
HSLhsl(276, 89%, 15%)
HSVhsv(276, 94%, 28%)
CMYKcmyk(38%, 94.4%, 0%, 72.2%)
CIE-LABlab(9.62, 32.48, -32.15)
CIE-LCHlch(9.62, 45.70, 315.29°)
OKLaboklab(23.59% 0.0668 -0.0917)
OKLCHoklch(23.59% 0.113 306.1)
XYZxyz(2.2192, 1.0773, 6.0510)
Luminance0.0108 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C0447 #1F4704
analogous
#0B0447 #2C0447 #470441
triadic
#2C0447 #472C04 #04472C
tetradic
#2C0447 #470B04 #1F4704 #044147
square
#2C0447 #470B04 #1F4704 #044147
split-complementary
#2C0447 #414704 #04470B
monochromatic
#12021D #12021D #2C0447 #500781 #740BBB

Accessibility & contrast

On white

17.28
#2C0447 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.22
#2C0447 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C0447
17.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C0447#FFFFFF#000000##FFFFFF
##2C04471.0017.281.2217.28
#FFFFFF17.281.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001A49
Deuteranopia (green-blind)
#001B46
Tritanopia (blue-blind)
#271727
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #2c0447;
/* rgb */ color: rgb(44, 4, 71);
/* oklch */ color: oklch(23.6% 0.113 306.1);
Tailwind
colors: {
  custom: {
    50: '#694a7b',
    500: '#2c0447',
    950: '#000000',
  },
}
SCSS
$custom: #2c0447;
$custom-light: #694a7b;
$custom-dark: #000000;
JSON
{
  "hex": "#2c0447",
  "rgb": {
    "r": 44,
    "g": 4,
    "b": 71
  },
  "hsl": {
    "h": 275.821,
    "s": 89.333,
    "l": 14.706
  },
  "oklch": {
    "l": 0.23591,
    "c": 0.1134,
    "h": 306.1
  },
  "luminance": 0.01077
}

Semantic roles & 50–950 ramp

primary
#2C0447
secondary
#49881F
accent
#FF297F
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#070109
muted
#7A777B

Preview Lab

Preview with #2C0447

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

Preview Lab → · Contrast checker → · Palette generator →

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