#2C0746#2C0746

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

Color values

HEX#2C0746
RGBrgb(44, 7, 70)
HSLhsl(275, 82%, 15%)
HSVhsv(275, 90%, 27%)
CMYKcmyk(37.1%, 90%, 0%, 72.5%)
CIE-LABlab(10.03, 30.74, -30.78)
CIE-LCHlch(10.03, 43.50, 314.96°)
OKLaboklab(23.84% 0.0639 -0.0877)
OKLCHoklch(23.84% 0.108 306.1)
XYZxyz(2.2199, 1.1296, 5.8943)
Luminance0.0113 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C0746 #214607
analogous
#0C0746 #2C0746 #460740
triadic
#2C0746 #462C07 #07462C
tetradic
#2C0746 #460C07 #214607 #074046
square
#2C0746 #460C07 #214607 #074046
split-complementary
#2C0746 #404607 #07460C
monochromatic
#11031C #11031C #2C0746 #4F0D7E #7212B5

Accessibility & contrast

On white

17.13
#2C0746 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C0746
17.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C0746#FFFFFF#000000##FFFFFF
##2C07461.0017.131.2317.13
#FFFFFF17.131.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.131.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2c0746;
/* rgb */ color: rgb(44, 7, 70);
/* oklch */ color: oklch(23.8% 0.108 306.1);
Tailwind
colors: {
  custom: {
    50: '#694c7a',
    500: '#2c0746',
    950: '#000000',
  },
}
SCSS
$custom: #2c0746;
$custom-light: #694c7a;
$custom-dark: #000000;
JSON
{
  "hex": "#2c0746",
  "rgb": {
    "r": 44,
    "g": 7,
    "b": 70
  },
  "hsl": {
    "h": 275.238,
    "s": 81.818,
    "l": 15.098
  },
  "oklch": {
    "l": 0.23843,
    "c": 0.10846,
    "h": 306.1
  },
  "luminance": 0.0113
}

Semantic roles & 50–950 ramp

primary
#2C0746
secondary
#4C8524
accent
#F83082
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#070109
muted
#7A777B

Preview Lab

Preview with #2C0746

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

Preview Lab → · Contrast checker → · Palette generator →

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