#2C0E48#2C0E48

#2C0E48 is a very dark, moderate violet. Relative luminance 0.013; OKLCH L 24.9% C 0.102 H 303.2°. Best body text is #FFFFFF at 16.62:1 contrast (WCAG AA passes).

Color values

HEX#2C0E48
RGBrgb(44, 14, 72)
HSLhsl(271, 67%, 17%)
HSVhsv(271, 81%, 28%)
CMYKcmyk(38.9%, 80.6%, 0%, 71.8%)
CIE-LABlab(11.40, 27.89, -29.95)
CIE-LCHlch(11.40, 40.92, 312.95°)
OKLaboklab(24.86% 0.0559 -0.0853)
OKLCHoklch(24.86% 0.102 303.2)
XYZxyz(2.3652, 1.3174, 6.2593)
Luminance0.0132 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C0E48 #2A480E
analogous
#0F0E48 #2C0E48 #480E47
triadic
#2C0E48 #482C0E #0E482C
tetradic
#2C0E48 #480F0E #2A480E #0E4748
square
#2C0E48 #480F0E #2A480E #0E4748
split-complementary
#2C0E48 #47480E #0E480F
monochromatic
#10051A #10051A #2C0E48 #4B187B #6B22AE

Accessibility & contrast

On white

16.62
#2C0E48 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C0E48
16.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C0E48#FFFFFF#000000##FFFFFF
##2C0E481.0016.621.2616.62
#FFFFFF16.621.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E4A
Deuteranopia (green-blind)
#001E47
Tritanopia (blue-blind)
#261C2A
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #2c0e48;
/* rgb */ color: rgb(44, 14, 72);
/* oklch */ color: oklch(24.9% 0.102 303.2);
Tailwind
colors: {
  custom: {
    50: '#68507b',
    500: '#2c0e48',
    950: '#000000',
  },
}
SCSS
$custom: #2c0e48;
$custom-light: #68507b;
$custom-dark: #000000;
JSON
{
  "hex": "#2c0e48",
  "rgb": {
    "r": 44,
    "g": 14,
    "b": 72
  },
  "hsl": {
    "h": 271.034,
    "s": 67.442,
    "l": 16.863
  },
  "oklch": {
    "l": 0.24863,
    "c": 0.10196,
    "h": 303.2
  },
  "luminance": 0.01317
}

Semantic roles & 50–950 ramp

primary
#2C0E48
secondary
#57832F
accent
#EA3D91
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#060209
muted
#7A787B

Preview Lab

Preview with #2C0E48

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

Preview Lab → · Contrast checker → · Palette generator →

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