#2C0D45#2C0D45

#2C0D45 is a very dark, moderate violet. Relative luminance 0.013; OKLCH L 24.5% C 0.100 H 305.4°. Best body text is #FFFFFF at 16.79:1 contrast (WCAG AA passes).

Color values

HEX#2C0D45
RGBrgb(44, 13, 69)
HSLhsl(273, 68%, 16%)
HSVhsv(273, 81%, 27%)
CMYKcmyk(36.2%, 81.2%, 0%, 72.9%)
CIE-LABlab(10.94, 27.57, -28.59)
CIE-LCHlch(10.94, 39.72, 313.96°)
OKLaboklab(24.46% 0.0577 -0.0813)
OKLCHoklch(24.46% 0.1 305.4)
XYZxyz(2.2566, 1.2530, 5.7520)
Luminance0.0125 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C0D45 #26450D
analogous
#100D45 #2C0D45 #450D42
triadic
#2C0D45 #452C0D #0D452C
tetradic
#2C0D45 #45100D #26450D #0D4245
square
#2C0D45 #45100D #26450D #0D4245
split-complementary
#2C0D45 #42450D #0D4510
monochromatic
#10051A #10051A #2C0D45 #4D1778 #6E20AC

Accessibility & contrast

On white

16.79
#2C0D45 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C0D45
16.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C0D45#FFFFFF#000000##FFFFFF
##2C0D451.0016.791.2516.79
#FFFFFF16.791.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.791.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2c0d45;
/* rgb */ color: rgb(44, 13, 69);
/* oklch */ color: oklch(24.5% 0.100 305.4);
Tailwind
colors: {
  custom: {
    50: '#684f79',
    500: '#2c0d45',
    950: '#000000',
  },
}
SCSS
$custom: #2c0d45;
$custom-light: #684f79;
$custom-dark: #000000;
JSON
{
  "hex": "#2c0d45",
  "rgb": {
    "r": 44,
    "g": 13,
    "b": 69
  },
  "hsl": {
    "h": 273.214,
    "s": 68.293,
    "l": 16.078
  },
  "oklch": {
    "l": 0.24457,
    "c": 0.09967,
    "h": 305.4
  },
  "luminance": 0.01253
}

Semantic roles & 50–950 ramp

primary
#2C0D45
secondary
#52802D
accent
#EB3D8B
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060209
muted
#7A787B

Preview Lab

Preview with #2C0D45

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

Preview Lab → · Contrast checker → · Palette generator →

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