#2C0A47#2C0A47

#2C0A47 is a very dark, moderate violet. Relative luminance 0.012; OKLCH L 24.3% C 0.106 H 304.8°. Best body text is #FFFFFF at 16.92:1 contrast (WCAG AA passes).

Color values

HEX#2C0A47
RGBrgb(44, 10, 71)
HSLhsl(273, 75%, 16%)
HSVhsv(273, 86%, 28%)
CMYKcmyk(38%, 85.9%, 0%, 72.2%)
CIE-LABlab(10.61, 29.58, -30.53)
CIE-LCHlch(10.61, 42.51, 314.10°)
OKLaboklab(24.28% 0.0604 -0.087)
OKLCHoklch(24.28% 0.106 304.8)
XYZxyz(2.2843, 1.2075, 6.0727)
Luminance0.0121 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C0A47 #25470A
analogous
#0D0A47 #2C0A47 #470A43
triadic
#2C0A47 #472C0A #0A472C
tetradic
#2C0A47 #470D0A #25470A #0A4347
square
#2C0A47 #470D0A #25470A #0A4347
split-complementary
#2C0A47 #43470A #0A470D
monochromatic
#11041B #11041B #2C0A47 #4D127D #6E19B2

Accessibility & contrast

On white

16.92
#2C0A47 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C0A47
16.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C0A47#FFFFFF#000000##FFFFFF
##2C0A471.0016.921.2416.92
#FFFFFF16.921.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001C49
Deuteranopia (green-blind)
#001D46
Tritanopia (blue-blind)
#271A28
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #2c0a47;
/* rgb */ color: rgb(44, 10, 71);
/* oklch */ color: oklch(24.3% 0.106 304.8);
Tailwind
colors: {
  custom: {
    50: '#694d7b',
    500: '#2c0a47',
    950: '#000000',
  },
}
SCSS
$custom: #2c0a47;
$custom-light: #694d7b;
$custom-dark: #000000;
JSON
{
  "hex": "#2c0a47",
  "rgb": {
    "r": 44,
    "g": 10,
    "b": 71
  },
  "hsl": {
    "h": 273.443,
    "s": 75.309,
    "l": 15.882
  },
  "oklch": {
    "l": 0.24281,
    "c": 0.1059,
    "h": 304.8
  },
  "luminance": 0.01207
}

Semantic roles & 50–950 ramp

primary
#2C0A47
secondary
#518429
accent
#F23689
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#060109
muted
#7A777B

Preview Lab

Preview with #2C0A47

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

Preview Lab → · Contrast checker → · Palette generator →

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