#2C0D44#2C0D44

#2C0D44 is a very dark, moderate violet. Relative luminance 0.012; OKLCH L 24.4% C 0.098 H 306.0°. Best body text is #FFFFFF at 16.82:1 contrast (WCAG AA passes).

Color values

HEX#2C0D44
RGBrgb(44, 13, 68)
HSLhsl(274, 68%, 16%)
HSVhsv(274, 81%, 27%)
CMYKcmyk(35.3%, 80.9%, 0%, 73.3%)
CIE-LABlab(10.85, 27.30, -28.03)
CIE-LCHlch(10.85, 39.13, 314.24°)
OKLaboklab(24.37% 0.0579 -0.0796)
OKLCHoklch(24.37% 0.098 306)
XYZxyz(2.2258, 1.2407, 5.5899)
Luminance0.0124 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C0D44 #25440D
analogous
#100D44 #2C0D44 #440D40
triadic
#2C0D44 #442C0D #0D442C
tetradic
#2C0D44 #44100D #25440D #0D4044
square
#2C0D44 #44100D #25440D #0D4044
split-complementary
#2C0D44 #40440D #0D4410
monochromatic
#11051A #11051A #2C0D44 #4D1777 #6E21AB

Accessibility & contrast

On white

16.82
#2C0D44 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.25
#2C0D44 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C0D44
16.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C0D44#FFFFFF#000000##FFFFFF
##2C0D441.0016.821.2516.82
#FFFFFF16.821.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001C46
Deuteranopia (green-blind)
#001D43
Tritanopia (blue-blind)
#281A27
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #2c0d44;
/* rgb */ color: rgb(44, 13, 68);
/* oklch */ color: oklch(24.4% 0.098 306.0);
Tailwind
colors: {
  custom: {
    50: '#684f78',
    500: '#2c0d44',
    950: '#000000',
  },
}
SCSS
$custom: #2c0d44;
$custom-light: #684f78;
$custom-dark: #000000;
JSON
{
  "hex": "#2c0d44",
  "rgb": {
    "r": 44,
    "g": 13,
    "b": 68
  },
  "hsl": {
    "h": 273.818,
    "s": 67.901,
    "l": 15.882
  },
  "oklch": {
    "l": 0.24366,
    "c": 0.09846,
    "h": 306
  },
  "luminance": 0.01241
}

Semantic roles & 50–950 ramp

primary
#2C0D44
secondary
#517F2D
accent
#EB3D89
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060209
muted
#7A787B

Preview Lab

Preview with #2C0D44

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

Preview Lab → · Contrast checker → · Palette generator →

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