#2C0E4A#2C0E4A

#2C0E4A is a dark, moderate violet. Relative luminance 0.013; OKLCH L 25.0% C 0.104 H 302.0°. Best body text is #FFFFFF at 16.55:1 contrast (WCAG AA passes).

Color values

HEX#2C0E4A
RGBrgb(44, 14, 74)
HSLhsl(270, 68%, 17%)
HSVhsv(270, 81%, 29%)
CMYKcmyk(40.5%, 81.1%, 0%, 71%)
CIE-LABlab(11.58, 28.45, -31.05)
CIE-LCHlch(11.58, 42.11, 312.50°)
OKLaboklab(25.05% 0.0554 -0.0885)
OKLCHoklch(25.05% 0.104 302)
XYZxyz(2.4315, 1.3440, 6.6085)
Luminance0.0134 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C0E4A #2C4A0E
analogous
#0E0E4A #2C0E4A #4A0E4A
triadic
#2C0E4A #4A2C0E #0E4A2C
tetradic
#2C0E4A #4A0E0E #2C4A0E #0E4A4A
square
#2C0E4A #4A0E0E #2C4A0E #0E4A4A
split-complementary
#2C0E4A #4A4A0E #0E4A0E
monochromatic
#0F051A #0F051A #2C0E4A #4B187D #6921B1

Accessibility & contrast

On white

16.55
#2C0E4A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.27
#2C0E4A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C0E4A
16.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C0E4A#FFFFFF#000000##FFFFFF
##2C0E4A1.0016.551.2716.55
#FFFFFF16.551.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E4C
Deuteranopia (green-blind)
#001E49
Tritanopia (blue-blind)
#261D2B
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #2c0e4a;
/* rgb */ color: rgb(44, 14, 74);
/* oklch */ color: oklch(25.0% 0.104 302.0);
Tailwind
colors: {
  custom: {
    50: '#69507d',
    500: '#2c0e4a',
    950: '#000000',
  },
}
SCSS
$custom: #2c0e4a;
$custom-light: #69507d;
$custom-dark: #000000;
JSON
{
  "hex": "#2c0e4a",
  "rgb": {
    "r": 44,
    "g": 14,
    "b": 74
  },
  "hsl": {
    "h": 270,
    "s": 68.182,
    "l": 17.255
  },
  "oklch": {
    "l": 0.25049,
    "c": 0.10443,
    "h": 302
  },
  "luminance": 0.01344
}

Semantic roles & 50–950 ramp

primary
#2C0E4A
secondary
#5A852F
accent
#EB3D94
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#06020A
muted
#7A787C

Preview Lab

Preview with #2C0E4A

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

Preview Lab → · Contrast checker → · Palette generator →

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