#2C0D47#2C0D47

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

Color values

HEX#2C0D47
RGBrgb(44, 13, 71)
HSLhsl(272, 69%, 16%)
HSVhsv(272, 82%, 28%)
CMYKcmyk(38%, 81.7%, 0%, 72.2%)
CIE-LABlab(11.12, 28.12, -29.70)
CIE-LCHlch(11.12, 40.90, 313.44°)
OKLaboklab(24.64% 0.0572 -0.0845)
OKLCHoklch(24.64% 0.102 304.1)
XYZxyz(2.3197, 1.2783, 6.0845)
Luminance0.0128 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C0D47 #28470D
analogous
#0F0D47 #2C0D47 #470D45
triadic
#2C0D47 #472C0D #0D472C
tetradic
#2C0D47 #470F0D #28470D #0D4547
square
#2C0D47 #470F0D #28470D #0D4547
split-complementary
#2C0D47 #45470D #0D470F
monochromatic
#10051A #10051A #2C0D47 #4C167B #6C20AE

Accessibility & contrast

On white

16.73
#2C0D47 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C0D47
16.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C0D47#FFFFFF#000000##FFFFFF
##2C0D471.0016.731.2616.73
#FFFFFF16.731.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.731.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2c0d47;
/* rgb */ color: rgb(44, 13, 71);
/* oklch */ color: oklch(24.6% 0.102 304.1);
Tailwind
colors: {
  custom: {
    50: '#684f7b',
    500: '#2c0d47',
    950: '#000000',
  },
}
SCSS
$custom: #2c0d47;
$custom-light: #684f7b;
$custom-dark: #000000;
JSON
{
  "hex": "#2c0d47",
  "rgb": {
    "r": 44,
    "g": 13,
    "b": 71
  },
  "hsl": {
    "h": 272.069,
    "s": 69.048,
    "l": 16.471
  },
  "oklch": {
    "l": 0.2464,
    "c": 0.1021,
    "h": 304.1
  },
  "luminance": 0.01278
}

Semantic roles & 50–950 ramp

primary
#2C0D47
secondary
#55822D
accent
#EC3C8E
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#060209
muted
#7A787B

Preview Lab

Preview with #2C0D47

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

Preview Lab → · Contrast checker → · Palette generator →

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