#2C0E40#2C0E40

#2C0E40 is a very dark, moderate violet. Relative luminance 0.012; OKLCH L 24.1% C 0.092 H 308.5°. Best body text is #FFFFFF at 16.88:1 contrast (WCAG AA passes).

Color values

HEX#2C0E40
RGBrgb(44, 14, 64)
HSLhsl(276, 64%, 15%)
HSVhsv(276, 78%, 25%)
CMYKcmyk(31.2%, 78.1%, 0%, 74.9%)
CIE-LABlab(10.70, 25.67, -25.45)
CIE-LCHlch(10.70, 36.15, 315.25°)
OKLaboklab(24.15% 0.0573 -0.0721)
OKLCHoklch(24.15% 0.092 308.5)
XYZxyz(2.1210, 1.2197, 4.9732)
Luminance0.0122 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C0E40 #22400E
analogous
#130E40 #2C0E40 #400E3B
triadic
#2C0E40 #402C0E #0E402C
tetradic
#2C0E40 #40130E #22400E #0E3B40
square
#2C0E40 #40130E #22400E #0E3B40
split-complementary
#2C0E40 #3B400E #0E4013
monochromatic
#110519 #110519 #2C0E40 #4F1972 #7124A4

Accessibility & contrast

On white

16.88
#2C0E40 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.24
#2C0E40 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C0E40
16.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C0E40#FFFFFF#000000##FFFFFF
##2C0E401.0016.881.2416.88
#FFFFFF16.881.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001C41
Deuteranopia (green-blind)
#041D3F
Tritanopia (blue-blind)
#291925
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #2c0e40;
/* rgb */ color: rgb(44, 14, 64);
/* oklch */ color: oklch(24.1% 0.092 308.5);
Tailwind
colors: {
  custom: {
    50: '#684f75',
    500: '#2c0e40',
    950: '#000000',
  },
}
SCSS
$custom: #2c0e40;
$custom-light: #684f75;
$custom-dark: #000000;
JSON
{
  "hex": "#2c0e40",
  "rgb": {
    "r": 44,
    "g": 14,
    "b": 64
  },
  "hsl": {
    "h": 276,
    "s": 64.103,
    "l": 15.294
  },
  "oklch": {
    "l": 0.2415,
    "c": 0.09209,
    "h": 308.5
  },
  "luminance": 0.0122
}

Semantic roles & 50–950 ramp

primary
#2C0E40
secondary
#4D7B2F
accent
#E74183
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060208
muted
#7A787B

Preview Lab

Preview with #2C0E40

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

Preview Lab → · Contrast checker → · Palette generator →

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