#2C0F47#2C0F47

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

Color values

HEX#2C0F47
RGBrgb(44, 15, 71)
HSLhsl(271, 65%, 17%)
HSVhsv(271, 79%, 28%)
CMYKcmyk(38%, 78.9%, 0%, 72.2%)
CIE-LABlab(11.50, 27.07, -29.09)
CIE-LCHlch(11.50, 39.73, 312.93°)
OKLaboklab(24.91% 0.0549 -0.0828)
OKLCHoklch(24.91% 0.099 303.5)
XYZxyz(2.3466, 1.3321, 6.0935)
Luminance0.0133 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C0F47 #2A470F
analogous
#100F47 #2C0F47 #470F46
triadic
#2C0F47 #472C0F #0F472C
tetradic
#2C0F47 #47100F #2A470F #0F4647
square
#2C0F47 #47100F #2A470F #0F4647
split-complementary
#2C0F47 #46470F #0F4710
monochromatic
#100519 #100519 #2C0F47 #4B1A7A #6B24AC

Accessibility & contrast

On white

16.58
#2C0F47 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.27
#2C0F47 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C0F47
16.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C0F47#FFFFFF#000000##FFFFFF
##2C0F471.0016.581.2716.58
#FFFFFF16.581.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.581.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2c0f47;
/* rgb */ color: rgb(44, 15, 71);
/* oklch */ color: oklch(24.9% 0.099 303.5);
Tailwind
colors: {
  custom: {
    50: '#68507b',
    500: '#2c0f47',
    950: '#000000',
  },
}
SCSS
$custom: #2c0f47;
$custom-light: #68507b;
$custom-dark: #000000;
JSON
{
  "hex": "#2c0f47",
  "rgb": {
    "r": 44,
    "g": 15,
    "b": 71
  },
  "hsl": {
    "h": 271.071,
    "s": 65.116,
    "l": 16.863
  },
  "oklch": {
    "l": 0.24907,
    "c": 0.09932,
    "h": 303.5
  },
  "luminance": 0.01332
}

Semantic roles & 50–950 ramp

primary
#2C0F47
secondary
#578130
accent
#E84091
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#060209
muted
#7A787B

Preview Lab

Preview with #2C0F47

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

Preview Lab → · Contrast checker → · Palette generator →

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