#2C0741#2C0741

#2C0741 is a very dark, moderate violet. Relative luminance 0.011; OKLCH L 23.4% C 0.103 H 309.4°. Best body text is #FFFFFF at 17.30:1 contrast (WCAG AA passes).

Color values

HEX#2C0741
RGBrgb(44, 7, 65)
HSLhsl(278, 81%, 14%)
HSVhsv(278, 89%, 25%)
CMYKcmyk(32.3%, 89.2%, 0%, 74.5%)
CIE-LABlab(9.55, 29.45, -28.02)
CIE-LCHlch(9.55, 40.65, 316.42°)
OKLaboklab(23.37% 0.0654 -0.0796)
OKLCHoklch(23.37% 0.103 309.4)
XYZxyz(2.0686, 1.0691, 5.0974)
Luminance0.0107 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C0741 #1C4107
analogous
#0F0741 #2C0741 #410739
triadic
#2C0741 #412C07 #07412C
tetradic
#2C0741 #410F07 #1C4107 #073941
square
#2C0741 #410F07 #1C4107 #073941
split-complementary
#2C0741 #394107 #07410F
monochromatic
#13031C #13031C #2C0741 #510D78 #7713B0

Accessibility & contrast

On white

17.30
#2C0741 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#2C0741 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C0741
17.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C0741#FFFFFF#000000##FFFFFF
##2C07411.0017.301.2117.30
#FFFFFF17.301.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001943
Deuteranopia (green-blind)
#001B40
Tritanopia (blue-blind)
#291624
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #2c0741;
/* rgb */ color: rgb(44, 7, 65);
/* oklch */ color: oklch(23.4% 0.103 309.4);
Tailwind
colors: {
  custom: {
    50: '#684c76',
    500: '#2c0741',
    950: '#000000',
  },
}
SCSS
$custom: #2c0741;
$custom-light: #684c76;
$custom-dark: #000000;
JSON
{
  "hex": "#2c0741",
  "rgb": {
    "r": 44,
    "g": 7,
    "b": 65
  },
  "hsl": {
    "h": 278.276,
    "s": 80.556,
    "l": 14.118
  },
  "oklch": {
    "l": 0.23365,
    "c": 0.10298,
    "h": 309.4
  },
  "luminance": 0.01069
}

Semantic roles & 50–950 ramp

primary
#2C0741
secondary
#458024
accent
#F73179
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060108
muted
#7A777B

Preview Lab

Preview with #2C0741

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

Preview Lab → · Contrast checker → · Palette generator →

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