#2C0A4A#2C0A4A

#2C0A4A is a very dark, moderate violet. Relative luminance 0.012; OKLCH L 24.6% C 0.109 H 303.0°. Best body text is #FFFFFF at 16.81:1 contrast (WCAG AA passes).

Color values

HEX#2C0A4A
RGBrgb(44, 10, 74)
HSLhsl(272, 76%, 16%)
HSVhsv(272, 86%, 29%)
CMYKcmyk(40.5%, 86.5%, 0%, 71%)
CIE-LABlab(10.90, 30.39, -32.16)
CIE-LCHlch(10.90, 44.25, 313.39°)
OKLaboklab(24.57% 0.0595 -0.0917)
OKLCHoklch(24.57% 0.109 303)
XYZxyz(2.3830, 1.2470, 6.5924)
Luminance0.0125 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C0A4A #284A0A
analogous
#0C0A4A #2C0A4A #4A0A48
triadic
#2C0A4A #4A2C0A #0A4A2C
tetradic
#2C0A4A #4A0C0A #284A0A #0A484A
square
#2C0A4A #4A0C0A #284A0A #0A484A
split-complementary
#2C0A4A #484A0A #0A4A0C
monochromatic
#10041B #10041B #2C0A4A #4C1180 #6C19B6

Accessibility & contrast

On white

16.81
#2C0A4A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.25
#2C0A4A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C0A4A
16.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C0A4A#FFFFFF#000000##FFFFFF
##2C0A4A1.0016.811.2516.81
#FFFFFF16.811.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001D4C
Deuteranopia (green-blind)
#001D49
Tritanopia (blue-blind)
#261B2A
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #2c0a4a;
/* rgb */ color: rgb(44, 10, 74);
/* oklch */ color: oklch(24.6% 0.109 303.0);
Tailwind
colors: {
  custom: {
    50: '#694e7d',
    500: '#2c0a4a',
    950: '#000000',
  },
}
SCSS
$custom: #2c0a4a;
$custom-light: #694e7d;
$custom-dark: #000000;
JSON
{
  "hex": "#2c0a4a",
  "rgb": {
    "r": 44,
    "g": 10,
    "b": 74
  },
  "hsl": {
    "h": 271.875,
    "s": 76.19,
    "l": 16.471
  },
  "oklch": {
    "l": 0.24571,
    "c": 0.10938,
    "h": 303
  },
  "luminance": 0.01247
}

Semantic roles & 50–950 ramp

primary
#2C0A4A
secondary
#558729
accent
#F3358E
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#07020A
muted
#7A787C

Preview Lab

Preview with #2C0A4A

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

Preview Lab → · Contrast checker → · Palette generator →

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