#2C0743#2C0743

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

Color values

HEX#2C0743
RGBrgb(44, 7, 67)
HSLhsl(277, 81%, 15%)
HSVhsv(277, 90%, 26%)
CMYKcmyk(34.3%, 89.6%, 0%, 73.7%)
CIE-LABlab(9.74, 29.96, -29.14)
CIE-LCHlch(9.74, 41.79, 315.80°)
OKLaboklab(23.55% 0.0648 -0.0828)
OKLCHoklch(23.55% 0.105 308)
XYZxyz(2.1276, 1.0927, 5.4079)
Luminance0.0109 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C0743 #1E4307
analogous
#0E0743 #2C0743 #43073C
triadic
#2C0743 #432C07 #07432C
tetradic
#2C0743 #430E07 #1E4307 #073C43
square
#2C0743 #430E07 #1E4307 #073C43
split-complementary
#2C0743 #3C4307 #07430E
monochromatic
#12031C #12031C #2C0743 #500D7A #7513B2

Accessibility & contrast

On white

17.23
#2C0743 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C0743
17.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C0743#FFFFFF#000000##FFFFFF
##2C07431.0017.231.2217.23
#FFFFFF17.231.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001A45
Deuteranopia (green-blind)
#001B42
Tritanopia (blue-blind)
#281625
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #2c0743;
/* rgb */ color: rgb(44, 7, 67);
/* oklch */ color: oklch(23.6% 0.105 308.0);
Tailwind
colors: {
  custom: {
    50: '#684c78',
    500: '#2c0743',
    950: '#000000',
  },
}
SCSS
$custom: #2c0743;
$custom-light: #684c78;
$custom-dark: #000000;
JSON
{
  "hex": "#2c0743",
  "rgb": {
    "r": 44,
    "g": 7,
    "b": 67
  },
  "hsl": {
    "h": 277,
    "s": 81.081,
    "l": 14.51
  },
  "oklch": {
    "l": 0.23554,
    "c": 0.10517,
    "h": 308
  },
  "luminance": 0.01093
}

Semantic roles & 50–950 ramp

primary
#2C0743
secondary
#488224
accent
#F7307D
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060109
muted
#7A777B

Preview Lab

Preview with #2C0743

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

Preview Lab → · Contrast checker → · Palette generator →

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