#2C0E4B#2C0E4B

#2C0E4B is a dark, moderate violet. Relative luminance 0.014; OKLCH L 25.1% C 0.106 H 301.5°. Best body text is #FFFFFF at 16.51:1 contrast (WCAG AA passes).

Color values

HEX#2C0E4B
RGBrgb(44, 14, 75)
HSLhsl(270, 69%, 17%)
HSVhsv(270, 81%, 29%)
CMYKcmyk(41.3%, 81.3%, 0%, 70.6%)
CIE-LABlab(11.67, 28.73, -31.59)
CIE-LCHlch(11.67, 42.70, 312.29°)
OKLaboklab(25.14% 0.0552 -0.0901)
OKLCHoklch(25.14% 0.106 301.5)
XYZxyz(2.4654, 1.3575, 6.7874)
Luminance0.0136 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C0E4B #2D4B0E
analogous
#0E0F4B #2C0E4B #4A0E4B
triadic
#2C0E4B #4B2C0E #0E4B2C
tetradic
#2C0E4B #4B0E0F #2D4B0E #0E4B4A
square
#2C0E4B #4B0E0F #2D4B0E #0E4B4A
split-complementary
#2C0E4B #4B4A0E #0F4B0E
monochromatic
#0F051A #0F051A #2C0E4B #4A187F #6921B2

Accessibility & contrast

On white

16.51
#2C0E4B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C0E4B
16.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C0E4B#FFFFFF#000000##FFFFFF
##2C0E4B1.0016.511.2716.51
#FFFFFF16.511.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E4D
Deuteranopia (green-blind)
#001F4A
Tritanopia (blue-blind)
#251D2B
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #2c0e4b;
/* rgb */ color: rgb(44, 14, 75);
/* oklch */ color: oklch(25.1% 0.106 301.5);
Tailwind
colors: {
  custom: {
    50: '#69507e',
    500: '#2c0e4b',
    950: '#000000',
  },
}
SCSS
$custom: #2c0e4b;
$custom-light: #69507e;
$custom-dark: #000000;
JSON
{
  "hex": "#2c0e4b",
  "rgb": {
    "r": 44,
    "g": 14,
    "b": 75
  },
  "hsl": {
    "h": 269.508,
    "s": 68.539,
    "l": 17.451
  },
  "oklch": {
    "l": 0.25144,
    "c": 0.10566,
    "h": 301.5
  },
  "luminance": 0.01358
}

Semantic roles & 50–950 ramp

primary
#2C0E4B
secondary
#5B862F
accent
#EB3C95
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#06020A
muted
#7A787C

Preview Lab

Preview with #2C0E4B

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

Preview Lab → · Contrast checker → · Palette generator →

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