#2C0E4D#2C0E4D

#2C0E4D is a dark, moderate violet. Relative luminance 0.014; OKLCH L 25.3% C 0.108 H 300.4°. Best body text is #FFFFFF at 16.44:1 contrast (WCAG AA passes).

Color values

HEX#2C0E4D
RGBrgb(44, 14, 77)
HSLhsl(269, 69%, 18%)
HSVhsv(269, 82%, 30%)
CMYKcmyk(42.9%, 81.8%, 0%, 69.8%)
CIE-LABlab(11.86, 29.30, -32.67)
CIE-LCHlch(11.86, 43.89, 311.89°)
OKLaboklab(25.33% 0.0546 -0.0933)
OKLCHoklch(25.33% 0.108 300.4)
XYZxyz(2.5350, 1.3853, 7.1536)
Luminance0.0138 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C0E4D #2F4D0E
analogous
#0E104D #2C0E4D #4B0E4D
triadic
#2C0E4D #4D2C0E #0E4D2C
tetradic
#2C0E4D #4D0E10 #2F4D0E #0E4D4B
square
#2C0E4D #4D0E10 #2F4D0E #0E4D4B
split-complementary
#2C0E4D #4D4B0E #104D0E
monochromatic
#0F051A #0F051A #2C0E4D #4A1781 #6721B5

Accessibility & contrast

On white

16.44
#2C0E4D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.28
#2C0E4D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C0E4D
16.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C0E4D#FFFFFF#000000##FFFFFF
##2C0E4D1.0016.441.2816.44
#FFFFFF16.441.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001F4F
Deuteranopia (green-blind)
#001F4C
Tritanopia (blue-blind)
#241E2C
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #2c0e4d;
/* rgb */ color: rgb(44, 14, 77);
/* oklch */ color: oklch(25.3% 0.108 300.4);
Tailwind
colors: {
  custom: {
    50: '#69507f',
    500: '#2c0e4d',
    950: '#000000',
  },
}
SCSS
$custom: #2c0e4d;
$custom-light: #69507f;
$custom-dark: #000000;
JSON
{
  "hex": "#2c0e4d",
  "rgb": {
    "r": 44,
    "g": 14,
    "b": 77
  },
  "hsl": {
    "h": 268.571,
    "s": 69.231,
    "l": 17.843
  },
  "oklch": {
    "l": 0.25334,
    "c": 0.1081,
    "h": 300.4
  },
  "luminance": 0.01385
}

Semantic roles & 50–950 ramp

primary
#2C0E4D
secondary
#5E882F
accent
#EC3C98
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#07020A
muted
#7A787C

Preview Lab

Preview with #2C0E4D

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

Preview Lab → · Contrast checker → · Palette generator →

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