#2E0D43#2E0D43

#2E0D43 is a very dark, moderate violet. Relative luminance 0.013; OKLCH L 24.6% C 0.098 H 308.8°. Best body text is #FFFFFF at 16.74:1 contrast (WCAG AA passes).

Color values

HEX#2E0D43
RGBrgb(46, 13, 67)
HSLhsl(277, 68%, 16%)
HSVhsv(277, 81%, 26%)
CMYKcmyk(31.3%, 80.6%, 0%, 73.7%)
CIE-LABlab(11.09, 27.50, -26.93)
CIE-LCHlch(11.09, 38.49, 315.60°)
OKLaboklab(24.58% 0.0613 -0.0763)
OKLCHoklch(24.58% 0.098 308.8)
XYZxyz(2.2836, 1.2740, 5.4347)
Luminance0.0127 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E0D43 #22430D
analogous
#130D43 #2E0D43 #430D3D
triadic
#2E0D43 #432E0D #0D432E
tetradic
#2E0D43 #43130D #22430D #0D3D43
square
#2E0D43 #43130D #22430D #0D3D43
split-complementary
#2E0D43 #3D430D #0D4313
monochromatic
#12051A #12051A #2E0D43 #511776 #7421AA

Accessibility & contrast

On white

16.74
#2E0D43 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E0D43
16.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E0D43#FFFFFF#000000##FFFFFF
##2E0D431.0016.741.2516.74
#FFFFFF16.741.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001C45
Deuteranopia (green-blind)
#021E42
Tritanopia (blue-blind)
#2B1927
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #2e0d43;
/* rgb */ color: rgb(46, 13, 67);
/* oklch */ color: oklch(24.6% 0.098 308.8);
Tailwind
colors: {
  custom: {
    50: '#694f77',
    500: '#2e0d43',
    950: '#000000',
  },
}
SCSS
$custom: #2e0d43;
$custom-light: #694f77;
$custom-dark: #000000;
JSON
{
  "hex": "#2e0d43",
  "rgb": {
    "r": 46,
    "g": 13,
    "b": 67
  },
  "hsl": {
    "h": 276.667,
    "s": 67.5,
    "l": 15.686
  },
  "oklch": {
    "l": 0.24577,
    "c": 0.09789,
    "h": 308.8
  },
  "luminance": 0.01274
}

Semantic roles & 50–950 ramp

primary
#2E0D43
secondary
#4D7E2D
accent
#EA3D81
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#070209
muted
#7A787B

Preview Lab

Preview with #2E0D43

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

Preview Lab → · Contrast checker → · Palette generator →

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