#2E0F49#2E0F49

#2E0F49 is a dark, moderate violet. Relative luminance 0.014; OKLCH L 25.4% C 0.102 H 304.4°. Best body text is #FFFFFF at 16.40:1 contrast (WCAG AA passes).

Color values

HEX#2E0F49
RGBrgb(46, 15, 73)
HSLhsl(272, 66%, 17%)
HSVhsv(272, 79%, 29%)
CMYKcmyk(37%, 79.5%, 0%, 71.4%)
CIE-LABlab(11.98, 28.09, -29.69)
CIE-LCHlch(11.98, 40.87, 313.42°)
OKLaboklab(25.37% 0.0578 -0.0844)
OKLCHoklch(25.37% 0.102 304.4)
XYZxyz(2.4999, 1.4035, 6.4412)
Luminance0.0140 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E0F49 #2A490F
analogous
#110F49 #2E0F49 #490F47
triadic
#2E0F49 #492E0F #0F492E
tetradic
#2E0F49 #49110F #2A490F #0F4749
square
#2E0F49 #49110F #2A490F #0F4749
split-complementary
#2E0F49 #47490F #0F4911
monochromatic
#100519 #100519 #2E0F49 #4E197C #6E24AF

Accessibility & contrast

On white

16.40
#2E0F49 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E0F49
16.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E0F49#FFFFFF#000000##FFFFFF
##2E0F491.0016.401.2816.40
#FFFFFF16.401.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.401.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2e0f49;
/* rgb */ color: rgb(46, 15, 73);
/* oklch */ color: oklch(25.4% 0.102 304.4);
Tailwind
colors: {
  custom: {
    50: '#6a507c',
    500: '#2e0f49',
    950: '#000000',
  },
}
SCSS
$custom: #2e0f49;
$custom-light: #6a507c;
$custom-dark: #000000;
JSON
{
  "hex": "#2e0f49",
  "rgb": {
    "r": 46,
    "g": 15,
    "b": 73
  },
  "hsl": {
    "h": 272.069,
    "s": 65.909,
    "l": 17.255
  },
  "oklch": {
    "l": 0.25372,
    "c": 0.10231,
    "h": 304.4
  },
  "luminance": 0.01404
}

Semantic roles & 50–950 ramp

primary
#2E0F49
secondary
#578330
accent
#E93F8E
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#070209
muted
#7A787B

Preview Lab

Preview with #2E0F49

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

Preview Lab → · Contrast checker → · Palette generator →

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