#2C0A4C#2C0A4C

#2C0A4C is a very dark, moderate violet. Relative luminance 0.013; OKLCH L 24.8% C 0.112 H 301.8°. Best body text is #FFFFFF at 16.74:1 contrast (WCAG AA passes).

Color values

HEX#2C0A4C
RGBrgb(44, 10, 76)
HSLhsl(271, 77%, 17%)
HSVhsv(271, 87%, 30%)
CMYKcmyk(42.1%, 86.8%, 0%, 70.2%)
CIE-LABlab(11.09, 30.94, -33.23)
CIE-LCHlch(11.09, 45.40, 312.96°)
OKLaboklab(24.77% 0.0589 -0.0949)
OKLCHoklch(24.77% 0.112 301.8)
XYZxyz(2.4514, 1.2743, 6.9529)
Luminance0.0127 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C0A4C #2A4C0A
analogous
#0B0A4C #2C0A4C #4C0A4B
triadic
#2C0A4C #4C2C0A #0A4C2C
tetradic
#2C0A4C #4C0B0A #2A4C0A #0A4B4C
square
#2C0A4C #4C0B0A #2A4C0A #0A4B4C
split-complementary
#2C0A4C #4B4C0A #0A4C0B
monochromatic
#10041B #10041B #2C0A4C #4B1182 #6B18B8

Accessibility & contrast

On white

16.74
#2C0A4C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C0A4C
16.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C0A4C#FFFFFF#000000##FFFFFF
##2C0A4C1.0016.741.2516.74
#FFFFFF16.741.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001D4E
Deuteranopia (green-blind)
#001D4B
Tritanopia (blue-blind)
#251C2B
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #2c0a4c;
/* rgb */ color: rgb(44, 10, 76);
/* oklch */ color: oklch(24.8% 0.112 301.8);
Tailwind
colors: {
  custom: {
    50: '#694e7f',
    500: '#2c0a4c',
    950: '#000000',
  },
}
SCSS
$custom: #2c0a4c;
$custom-light: #694e7f;
$custom-dark: #000000;
JSON
{
  "hex": "#2c0a4c",
  "rgb": {
    "r": 44,
    "g": 10,
    "b": 76
  },
  "hsl": {
    "h": 270.909,
    "s": 76.744,
    "l": 16.863
  },
  "oklch": {
    "l": 0.24768,
    "c": 0.11168,
    "h": 301.8
  },
  "luminance": 0.01274
}

Semantic roles & 50–950 ramp

primary
#2C0A4C
secondary
#578929
accent
#F33591
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#07020A
muted
#7A787C

Preview Lab

Preview with #2C0A4C

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

Preview Lab → · Contrast checker → · Palette generator →

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