#2C0E46#2C0E46

#2C0E46 is a very dark, moderate violet. Relative luminance 0.013; OKLCH L 24.7% C 0.100 H 304.5°. Best body text is #FFFFFF at 16.69:1 contrast (WCAG AA passes).

Color values

HEX#2C0E46
RGBrgb(44, 14, 70)
HSLhsl(272, 67%, 16%)
HSVhsv(272, 80%, 27%)
CMYKcmyk(37.1%, 80%, 0%, 72.5%)
CIE-LABlab(11.22, 27.32, -28.85)
CIE-LCHlch(11.22, 39.73, 313.45°)
OKLaboklab(24.68% 0.0563 -0.082)
OKLCHoklch(24.68% 0.1 304.5)
XYZxyz(2.3010, 1.2918, 5.9213)
Luminance0.0129 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C0E46 #28460E
analogous
#100E46 #2C0E46 #460E44
triadic
#2C0E46 #462C0E #0E462C
tetradic
#2C0E46 #46100E #28460E #0E4446
square
#2C0E46 #46100E #28460E #0E4446
split-complementary
#2C0E46 #44460E #0E4610
monochromatic
#10051A #10051A #2C0E46 #4C1879 #6C22AC

Accessibility & contrast

On white

16.69
#2C0E46 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.26
#2C0E46 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C0E46
16.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C0E46#FFFFFF#000000##FFFFFF
##2C0E461.0016.691.2616.69
#FFFFFF16.691.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001D48
Deuteranopia (green-blind)
#001E45
Tritanopia (blue-blind)
#271B29
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #2c0e46;
/* rgb */ color: rgb(44, 14, 70);
/* oklch */ color: oklch(24.7% 0.100 304.5);
Tailwind
colors: {
  custom: {
    50: '#684f7a',
    500: '#2c0e46',
    950: '#000000',
  },
}
SCSS
$custom: #2c0e46;
$custom-light: #684f7a;
$custom-dark: #000000;
JSON
{
  "hex": "#2c0e46",
  "rgb": {
    "r": 44,
    "g": 14,
    "b": 70
  },
  "hsl": {
    "h": 272.143,
    "s": 66.667,
    "l": 16.471
  },
  "oklch": {
    "l": 0.2468,
    "c": 0.0995,
    "h": 304.5
  },
  "luminance": 0.01292
}

Semantic roles & 50–950 ramp

primary
#2C0E46
secondary
#55812F
accent
#EA3E8E
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060209
muted
#7A787B

Preview Lab

Preview with #2C0E46

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

Preview Lab → · Contrast checker → · Palette generator →

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