#2C0749#2C0749

#2C0749 is a very dark, moderate violet. Relative luminance 0.012; OKLCH L 24.1% C 0.112 H 304.2°. Best body text is #FFFFFF at 17.02:1 contrast (WCAG AA passes).

Color values

HEX#2C0749
RGBrgb(44, 7, 73)
HSLhsl(274, 83%, 16%)
HSVhsv(274, 90%, 29%)
CMYKcmyk(39.7%, 90.4%, 0%, 71.4%)
CIE-LABlab(10.32, 31.52, -32.40)
CIE-LCHlch(10.32, 45.20, 314.21°)
OKLaboklab(24.14% 0.0628 -0.0924)
OKLCHoklch(24.14% 0.112 304.2)
XYZxyz(2.3170, 1.1685, 6.4055)
Luminance0.0117 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C0749 #244907
analogous
#0B0749 #2C0749 #490745
triadic
#2C0749 #492C07 #07492C
tetradic
#2C0749 #490B07 #244907 #074549
square
#2C0749 #490B07 #244907 #074549
split-complementary
#2C0749 #454907 #07490B
monochromatic
#11031C #11031C #2C0749 #4E0C81 #6F12B9

Accessibility & contrast

On white

17.02
#2C0749 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C0749
17.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C0749#FFFFFF#000000##FFFFFF
##2C07491.0017.021.2317.02
#FFFFFF17.021.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001B4B
Deuteranopia (green-blind)
#001C48
Tritanopia (blue-blind)
#261929
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #2c0749;
/* rgb */ color: rgb(44, 7, 73);
/* oklch */ color: oklch(24.1% 0.112 304.2);
Tailwind
colors: {
  custom: {
    50: '#694c7c',
    500: '#2c0749',
    950: '#000000',
  },
}
SCSS
$custom: #2c0749;
$custom-light: #694c7c;
$custom-dark: #000000;
JSON
{
  "hex": "#2c0749",
  "rgb": {
    "r": 44,
    "g": 7,
    "b": 73
  },
  "hsl": {
    "h": 273.636,
    "s": 82.5,
    "l": 15.686
  },
  "oklch": {
    "l": 0.24139,
    "c": 0.11177,
    "h": 304.2
  },
  "luminance": 0.01168
}

Semantic roles & 50–950 ramp

primary
#2C0749
secondary
#508824
accent
#F92F88
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#070109
muted
#7A777B

Preview Lab

Preview with #2C0749

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

Preview Lab → · Contrast checker → · Palette generator →

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