#2E0E49#2E0E49

#2E0E49 is a dark, moderate violet. Relative luminance 0.014; OKLCH L 25.2% C 0.104 H 304.6°. Best body text is #FFFFFF at 16.47:1 contrast (WCAG AA passes).

Color values

HEX#2E0E49
RGBrgb(46, 14, 73)
HSLhsl(273, 68%, 17%)
HSVhsv(273, 81%, 29%)
CMYKcmyk(37%, 80.8%, 0%, 71.4%)
CIE-LABlab(11.80, 28.61, -29.98)
CIE-LCHlch(11.80, 41.44, 313.65°)
OKLaboklab(25.24% 0.0589 -0.0853)
OKLCHoklch(25.24% 0.104 304.6)
XYZxyz(2.4861, 1.3760, 6.4367)
Luminance0.0138 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E0E49 #29490E
analogous
#100E49 #2E0E49 #490E47
triadic
#2E0E49 #492E0E #0E492E
tetradic
#2E0E49 #49100E #29490E #0E4749
square
#2E0E49 #49100E #29490E #0E4749
split-complementary
#2E0E49 #47490E #0E4910
monochromatic
#10051A #10051A #2E0E49 #4E187C #6F22B0

Accessibility & contrast

On white

16.47
#2E0E49 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.28
#2E0E49 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E0E49
16.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E0E49#FFFFFF#000000##FFFFFF
##2E0E491.0016.471.2816.47
#FFFFFF16.471.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E4B
Deuteranopia (green-blind)
#001F48
Tritanopia (blue-blind)
#291C2A
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #2e0e49;
/* rgb */ color: rgb(46, 14, 73);
/* oklch */ color: oklch(25.2% 0.104 304.6);
Tailwind
colors: {
  custom: {
    50: '#6a507c',
    500: '#2e0e49',
    950: '#000000',
  },
}
SCSS
$custom: #2e0e49;
$custom-light: #6a507c;
$custom-dark: #000000;
JSON
{
  "hex": "#2e0e49",
  "rgb": {
    "r": 46,
    "g": 14,
    "b": 73
  },
  "hsl": {
    "h": 272.542,
    "s": 67.816,
    "l": 17.059
  },
  "oklch": {
    "l": 0.25241,
    "c": 0.10369,
    "h": 304.6
  },
  "luminance": 0.01376
}

Semantic roles & 50–950 ramp

primary
#2E0E49
secondary
#56842F
accent
#EB3D8D
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#070209
muted
#7A787B

Preview Lab

Preview with #2E0E49

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

Preview Lab → · Contrast checker → · Palette generator →

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