#2C0A46#2C0A46

#2C0A46 is a very dark, moderate violet. Relative luminance 0.012; OKLCH L 24.2% C 0.105 H 305.4°. Best body text is #FFFFFF at 16.95:1 contrast (WCAG AA passes).

Color values

HEX#2C0A46
RGBrgb(44, 10, 70)
HSLhsl(274, 75%, 16%)
HSVhsv(274, 86%, 27%)
CMYKcmyk(37.1%, 85.7%, 0%, 72.5%)
CIE-LABlab(10.52, 29.31, -29.98)
CIE-LCHlch(10.52, 41.93, 314.35°)
OKLaboklab(24.19% 0.0607 -0.0854)
OKLCHoklch(24.19% 0.105 305.4)
XYZxyz(2.2525, 1.1948, 5.9051)
Luminance0.0120 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C0A46 #24460A
analogous
#0E0A46 #2C0A46 #460A42
triadic
#2C0A46 #462C0A #0A462C
tetradic
#2C0A46 #460E0A #24460A #0A4246
square
#2C0A46 #460E0A #24460A #0A4246
split-complementary
#2C0A46 #42460A #0A460E
monochromatic
#11041B #11041B #2C0A46 #4E127C #6F19B1

Accessibility & contrast

On white

16.95
#2C0A46 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.24
#2C0A46 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C0A46
16.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C0A46#FFFFFF#000000##FFFFFF
##2C0A461.0016.951.2416.95
#FFFFFF16.951.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001C48
Deuteranopia (green-blind)
#001D45
Tritanopia (blue-blind)
#271928
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #2c0a46;
/* rgb */ color: rgb(44, 10, 70);
/* oklch */ color: oklch(24.2% 0.105 305.4);
Tailwind
colors: {
  custom: {
    50: '#694d7a',
    500: '#2c0a46',
    950: '#000000',
  },
}
SCSS
$custom: #2c0a46;
$custom-light: #694d7a;
$custom-dark: #000000;
JSON
{
  "hex": "#2c0a46",
  "rgb": {
    "r": 44,
    "g": 10,
    "b": 70
  },
  "hsl": {
    "h": 274,
    "s": 75,
    "l": 15.686
  },
  "oklch": {
    "l": 0.24186,
    "c": 0.10475,
    "h": 305.4
  },
  "luminance": 0.01195
}

Semantic roles & 50–950 ramp

primary
#2C0A46
secondary
#508329
accent
#F23687
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060109
muted
#7A777B

Preview Lab

Preview with #2C0A46

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

Preview Lab → · Contrast checker → · Palette generator →

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