#2C0E49#2C0E49

#2C0E49 is a very dark, moderate violet. Relative luminance 0.013; OKLCH L 25.0% C 0.103 H 302.6°. Best body text is #FFFFFF at 16.59:1 contrast (WCAG AA passes).

Color values

HEX#2C0E49
RGBrgb(44, 14, 73)
HSLhsl(271, 68%, 17%)
HSVhsv(271, 81%, 29%)
CMYKcmyk(39.7%, 80.8%, 0%, 71.4%)
CIE-LABlab(11.49, 28.17, -30.50)
CIE-LCHlch(11.49, 41.52, 312.72°)
OKLaboklab(24.96% 0.0556 -0.0869)
OKLCHoklch(24.96% 0.103 302.6)
XYZxyz(2.3981, 1.3306, 6.4325)
Luminance0.0133 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C0E49 #2B490E
analogous
#0E0E49 #2C0E49 #490E49
triadic
#2C0E49 #492C0E #0E492C
tetradic
#2C0E49 #490E0E #2B490E #0E4949
square
#2C0E49 #490E0E #2B490E #0E4949
split-complementary
#2C0E49 #49490E #0E490E
monochromatic
#0F051A #0F051A #2C0E49 #4B187C #6A22B0

Accessibility & contrast

On white

16.59
#2C0E49 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C0E49
16.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C0E49#FFFFFF#000000##FFFFFF
##2C0E491.0016.591.2716.59
#FFFFFF16.591.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E4B
Deuteranopia (green-blind)
#001E48
Tritanopia (blue-blind)
#261D2A
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #2c0e49;
/* rgb */ color: rgb(44, 14, 73);
/* oklch */ color: oklch(25.0% 0.103 302.6);
Tailwind
colors: {
  custom: {
    50: '#69507c',
    500: '#2c0e49',
    950: '#000000',
  },
}
SCSS
$custom: #2c0e49;
$custom-light: #69507c;
$custom-dark: #000000;
JSON
{
  "hex": "#2c0e49",
  "rgb": {
    "r": 44,
    "g": 14,
    "b": 73
  },
  "hsl": {
    "h": 270.508,
    "s": 67.816,
    "l": 17.059
  },
  "oklch": {
    "l": 0.24956,
    "c": 0.1032,
    "h": 302.6
  },
  "luminance": 0.01331
}

Semantic roles & 50–950 ramp

primary
#2C0E49
secondary
#59842F
accent
#EB3D92
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#060209
muted
#7A787B

Preview Lab

Preview with #2C0E49

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

Preview Lab → · Contrast checker → · Palette generator →

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