#2C0947#2C0947

#2C0947 is a very dark, moderate violet. Relative luminance 0.012; OKLCH L 24.2% C 0.107 H 305.0°. Best body text is #FFFFFF at 16.97:1 contrast (WCAG AA passes).

Color values

HEX#2C0947
RGBrgb(44, 9, 71)
HSLhsl(274, 78%, 16%)
HSVhsv(274, 87%, 28%)
CMYKcmyk(38%, 87.3%, 0%, 72.2%)
CIE-LABlab(10.45, 30.05, -30.79)
CIE-LCHlch(10.45, 43.02, 314.30°)
OKLaboklab(24.17% 0.0614 -0.0877)
OKLCHoklch(24.17% 0.107 305)
XYZxyz(2.2735, 1.1858, 6.0691)
Luminance0.0119 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C0947 #244709
analogous
#0D0947 #2C0947 #470943
triadic
#2C0947 #472C09 #09472C
tetradic
#2C0947 #470D09 #244709 #094347
square
#2C0947 #470D09 #244709 #094347
split-complementary
#2C0947 #434709 #09470D
monochromatic
#11031B #11031B #2C0947 #4E107D #6F17B4

Accessibility & contrast

On white

16.97
#2C0947 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.24
#2C0947 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C0947
16.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C0947#FFFFFF#000000##FFFFFF
##2C09471.0016.971.2416.97
#FFFFFF16.971.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001C49
Deuteranopia (green-blind)
#001C46
Tritanopia (blue-blind)
#271928
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #2c0947;
/* rgb */ color: rgb(44, 9, 71);
/* oklch */ color: oklch(24.2% 0.107 305.0);
Tailwind
colors: {
  custom: {
    50: '#694d7b',
    500: '#2c0947',
    950: '#000000',
  },
}
SCSS
$custom: #2c0947;
$custom-light: #694d7b;
$custom-dark: #000000;
JSON
{
  "hex": "#2c0947",
  "rgb": {
    "r": 44,
    "g": 9,
    "b": 71
  },
  "hsl": {
    "h": 273.871,
    "s": 77.5,
    "l": 15.686
  },
  "oklch": {
    "l": 0.24169,
    "c": 0.1071,
    "h": 305
  },
  "luminance": 0.01186
}

Semantic roles & 50–950 ramp

primary
#2C0947
secondary
#508427
accent
#F43487
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#060109
muted
#7A777B

Preview Lab

Preview with #2C0947

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

Preview Lab → · Contrast checker → · Palette generator →

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