#2C0747#2C0747

#2C0747 is a very dark, moderate violet. Relative luminance 0.011; OKLCH L 23.9% C 0.110 H 305.4°. Best body text is #FFFFFF at 17.10:1 contrast (WCAG AA passes).

Color values

HEX#2C0747
RGBrgb(44, 7, 71)
HSLhsl(275, 82%, 15%)
HSVhsv(275, 90%, 28%)
CMYKcmyk(38%, 90.1%, 0%, 72.2%)
CIE-LABlab(10.13, 30.99, -31.32)
CIE-LCHlch(10.13, 44.07, 314.70°)
OKLaboklab(23.94% 0.0635 -0.0893)
OKLCHoklch(23.94% 0.11 305.4)
XYZxyz(2.2518, 1.1424, 6.0619)
Luminance0.0114 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C0747 #224707
analogous
#0C0747 #2C0747 #470742
triadic
#2C0747 #472C07 #07472C
tetradic
#2C0747 #470C07 #224707 #074247
square
#2C0747 #470C07 #224707 #074247
split-complementary
#2C0747 #424707 #07470C
monochromatic
#11031C #11031C #2C0747 #4F0C7F #7112B6

Accessibility & contrast

On white

17.10
#2C0747 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.23
#2C0747 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C0747
17.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C0747#FFFFFF#000000##FFFFFF
##2C07471.0017.101.2317.10
#FFFFFF17.101.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.101.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2c0747;
/* rgb */ color: rgb(44, 7, 71);
/* oklch */ color: oklch(23.9% 0.110 305.4);
Tailwind
colors: {
  custom: {
    50: '#694c7b',
    500: '#2c0747',
    950: '#000000',
  },
}
SCSS
$custom: #2c0747;
$custom-light: #694c7b;
$custom-dark: #000000;
JSON
{
  "hex": "#2c0747",
  "rgb": {
    "r": 44,
    "g": 7,
    "b": 71
  },
  "hsl": {
    "h": 274.688,
    "s": 82.051,
    "l": 15.294
  },
  "oklch": {
    "l": 0.23941,
    "c": 0.10956,
    "h": 305.4
  },
  "luminance": 0.01142
}

Semantic roles & 50–950 ramp

primary
#2C0747
secondary
#4D8624
accent
#F82F84
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#070109
muted
#7A777B

Preview Lab

Preview with #2C0747

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

Preview Lab → · Contrast checker → · Palette generator →

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