#2C0E42#2C0E42

#2C0E42 is a very dark, moderate violet. Relative luminance 0.012; OKLCH L 24.3% C 0.095 H 307.1°. Best body text is #FFFFFF at 16.82:1 contrast (WCAG AA passes).

Color values

HEX#2C0E42
RGBrgb(44, 14, 66)
HSLhsl(275, 65%, 16%)
HSVhsv(275, 79%, 26%)
CMYKcmyk(33.3%, 78.8%, 0%, 74.1%)
CIE-LABlab(10.87, 26.22, -26.60)
CIE-LCHlch(10.87, 37.35, 314.59°)
OKLaboklab(24.32% 0.057 -0.0754)
OKLCHoklch(24.32% 0.095 307.1)
XYZxyz(2.1789, 1.2429, 5.2783)
Luminance0.0124 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C0E42 #24420E
analogous
#120E42 #2C0E42 #420E3E
triadic
#2C0E42 #422C0E #0E422C
tetradic
#2C0E42 #42120E #24420E #0E3E42
square
#2C0E42 #42120E #24420E #0E3E42
split-complementary
#2C0E42 #3E420E #0E4212
monochromatic
#110519 #110519 #2C0E42 #4E1974 #6F23A7

Accessibility & contrast

On white

16.82
#2C0E42 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.25
#2C0E42 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C0E42
16.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C0E42#FFFFFF#000000##FFFFFF
##2C0E421.0016.821.2516.82
#FFFFFF16.821.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001C44
Deuteranopia (green-blind)
#021D41
Tritanopia (blue-blind)
#281A26
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #2c0e42;
/* rgb */ color: rgb(44, 14, 66);
/* oklch */ color: oklch(24.3% 0.095 307.1);
Tailwind
colors: {
  custom: {
    50: '#684f77',
    500: '#2c0e42',
    950: '#000000',
  },
}
SCSS
$custom: #2c0e42;
$custom-light: #684f77;
$custom-dark: #000000;
JSON
{
  "hex": "#2c0e42",
  "rgb": {
    "r": 44,
    "g": 14,
    "b": 66
  },
  "hsl": {
    "h": 274.615,
    "s": 65,
    "l": 15.686
  },
  "oklch": {
    "l": 0.24323,
    "c": 0.09456,
    "h": 307.1
  },
  "luminance": 0.01243
}

Semantic roles & 50–950 ramp

primary
#2C0E42
secondary
#507D2F
accent
#E84087
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060208
muted
#7A787B

Preview Lab

Preview with #2C0E42

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

Preview Lab → · Contrast checker → · Palette generator →

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