#2E0F47#2E0F47

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

Color values

HEX#2E0F47
RGBrgb(46, 15, 71)
HSLhsl(273, 65%, 17%)
HSVhsv(273, 79%, 28%)
CMYKcmyk(35.2%, 78.9%, 0%, 72.2%)
CIE-LABlab(11.81, 27.53, -28.58)
CIE-LCHlch(11.81, 39.68, 313.94°)
OKLaboklab(25.19% 0.0582 -0.0812)
OKLCHoklch(25.19% 0.1 305.6)
XYZxyz(2.4346, 1.3774, 6.0976)
Luminance0.0138 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E0F47 #28470F
analogous
#120F47 #2E0F47 #470F44
triadic
#2E0F47 #472E0F #0F472E
tetradic
#2E0F47 #47120F #28470F #0F4447
square
#2E0F47 #47120F #28470F #0F4447
split-complementary
#2E0F47 #44470F #0F4712
monochromatic
#100519 #100519 #2E0F47 #4F1A7A #6F24AC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2E0F47#FFFFFF#000000##FFFFFF
##2E0F471.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)
#001E49
Deuteranopia (green-blind)
#001F46
Tritanopia (blue-blind)
#2A1C29
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #2e0f47;
/* rgb */ color: rgb(46, 15, 71);
/* oklch */ color: oklch(25.2% 0.100 305.6);
Tailwind
colors: {
  custom: {
    50: '#6a507b',
    500: '#2e0f47',
    950: '#000000',
  },
}
SCSS
$custom: #2e0f47;
$custom-light: #6a507b;
$custom-dark: #000000;
JSON
{
  "hex": "#2e0f47",
  "rgb": {
    "r": 46,
    "g": 15,
    "b": 71
  },
  "hsl": {
    "h": 273.214,
    "s": 65.116,
    "l": 16.863
  },
  "oklch": {
    "l": 0.25193,
    "c": 0.09986,
    "h": 305.6
  },
  "luminance": 0.01377
}

Semantic roles & 50–950 ramp

primary
#2E0F47
secondary
#558130
accent
#E8408B
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#070209
muted
#7A787B

Preview Lab

Preview with #2E0F47

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

Preview Lab → · Contrast checker → · Palette generator →

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