#2C0E45#2C0E45

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

Color values

HEX#2C0E45
RGBrgb(44, 14, 69)
HSLhsl(273, 66%, 16%)
HSVhsv(273, 80%, 27%)
CMYKcmyk(36.2%, 79.7%, 0%, 72.9%)
CIE-LABlab(11.13, 27.05, -28.29)
CIE-LCHlch(11.13, 39.14, 313.72°)
OKLaboklab(24.59% 0.0565 -0.0804)
OKLCHoklch(24.59% 0.098 305.1)
XYZxyz(2.2697, 1.2792, 5.7564)
Luminance0.0128 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C0E45 #27450E
analogous
#110E45 #2C0E45 #450E43
triadic
#2C0E45 #452C0E #0E452C
tetradic
#2C0E45 #45110E #27450E #0E4345
square
#2C0E45 #45110E #27450E #0E4345
split-complementary
#2C0E45 #43450E #0E4511
monochromatic
#100519 #100519 #2C0E45 #4C1878 #6D23AB

Accessibility & contrast

On white

16.72
#2C0E45 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C0E45
16.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C0E45#FFFFFF#000000##FFFFFF
##2C0E451.0016.721.2616.72
#FFFFFF16.721.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001D47
Deuteranopia (green-blind)
#001E44
Tritanopia (blue-blind)
#271B28
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #2c0e45;
/* rgb */ color: rgb(44, 14, 69);
/* oklch */ color: oklch(24.6% 0.098 305.1);
Tailwind
colors: {
  custom: {
    50: '#684f79',
    500: '#2c0e45',
    950: '#000000',
  },
}
SCSS
$custom: #2c0e45;
$custom-light: #684f79;
$custom-dark: #000000;
JSON
{
  "hex": "#2c0e45",
  "rgb": {
    "r": 44,
    "g": 14,
    "b": 69
  },
  "hsl": {
    "h": 272.727,
    "s": 66.265,
    "l": 16.275
  },
  "oklch": {
    "l": 0.24589,
    "c": 0.09827,
    "h": 305.1
  },
  "luminance": 0.01279
}

Semantic roles & 50–950 ramp

primary
#2C0E45
secondary
#54802F
accent
#E93F8C
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060209
muted
#7A787B

Preview Lab

Preview with #2C0E45

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

Preview Lab → · Contrast checker → · Palette generator →

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