#2C0744#2C0744

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

Color values

HEX#2C0744
RGBrgb(44, 7, 68)
HSLhsl(276, 81%, 15%)
HSVhsv(276, 90%, 27%)
CMYKcmyk(35.3%, 89.7%, 0%, 73.3%)
CIE-LABlab(9.84, 30.22, -29.69)
CIE-LCHlch(9.84, 42.36, 315.51°)
OKLaboklab(23.65% 0.0645 -0.0845)
OKLCHoklch(23.65% 0.106 307.4)
XYZxyz(2.1578, 1.1048, 5.5673)
Luminance0.0111 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C0744 #1F4407
analogous
#0D0744 #2C0744 #44073E
triadic
#2C0744 #442C07 #07442C
tetradic
#2C0744 #440D07 #1F4407 #073E44
square
#2C0744 #440D07 #1F4407 #073E44
split-complementary
#2C0744 #3E4407 #07440D
monochromatic
#12031C #12031C #2C0744 #500D7B #7412B3

Accessibility & contrast

On white

17.20
#2C0744 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C0744
17.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C0744#FFFFFF#000000##FFFFFF
##2C07441.0017.201.2217.20
#FFFFFF17.201.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001A46
Deuteranopia (green-blind)
#001B43
Tritanopia (blue-blind)
#281726
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #2c0744;
/* rgb */ color: rgb(44, 7, 68);
/* oklch */ color: oklch(23.6% 0.106 307.4);
Tailwind
colors: {
  custom: {
    50: '#694c78',
    500: '#2c0744',
    950: '#000000',
  },
}
SCSS
$custom: #2c0744;
$custom-light: #694c78;
$custom-dark: #000000;
JSON
{
  "hex": "#2c0744",
  "rgb": {
    "r": 44,
    "g": 7,
    "b": 68
  },
  "hsl": {
    "h": 276.393,
    "s": 81.333,
    "l": 14.706
  },
  "oklch": {
    "l": 0.2365,
    "c": 0.10627,
    "h": 307.4
  },
  "luminance": 0.01105
}

Semantic roles & 50–950 ramp

primary
#2C0744
secondary
#498324
accent
#F8307F
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060109
muted
#7A777B

Preview Lab

Preview with #2C0744

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

Preview Lab → · Contrast checker → · Palette generator →

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