#2E1043#2E1043

#2E1043 is a very dark, moderate violet. Relative luminance 0.014; OKLCH L 25.0% C 0.093 H 308.0°. Best body text is #FFFFFF at 16.52:1 contrast (WCAG AA passes).

Color values

HEX#2E1043
RGBrgb(46, 16, 67)
HSLhsl(275, 61%, 16%)
HSVhsv(275, 76%, 26%)
CMYKcmyk(31.3%, 76.1%, 0%, 73.7%)
CIE-LABlab(11.67, 25.89, -26.00)
CIE-LCHlch(11.67, 36.69, 314.88°)
OKLaboklab(24.99% 0.0575 -0.0736)
OKLCHoklch(24.99% 0.093 308)
XYZxyz(2.3249, 1.3567, 5.4485)
Luminance0.0136 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E1043 #254310
analogous
#151043 #2E1043 #43103F
triadic
#2E1043 #432E10 #10432E
tetradic
#2E1043 #431510 #254310 #103F43
square
#2E1043 #431510 #254310 #103F43
split-complementary
#2E1043 #3F4310 #104315
monochromatic
#110619 #110619 #2E1043 #501C74 #7228A6

Accessibility & contrast

On white

16.52
#2E1043 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.27
#2E1043 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E1043
16.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E1043#FFFFFF#000000##FFFFFF
##2E10431.0016.521.2716.52
#FFFFFF16.521.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E45
Deuteranopia (green-blind)
#061F42
Tritanopia (blue-blind)
#2B1B28
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #2e1043;
/* rgb */ color: rgb(46, 16, 67);
/* oklch */ color: oklch(25.0% 0.093 308.0);
Tailwind
colors: {
  custom: {
    50: '#695177',
    500: '#2e1043',
    950: '#000000',
  },
}
SCSS
$custom: #2e1043;
$custom-light: #695177;
$custom-dark: #000000;
JSON
{
  "hex": "#2e1043",
  "rgb": {
    "r": 46,
    "g": 16,
    "b": 67
  },
  "hsl": {
    "h": 275.294,
    "s": 61.446,
    "l": 16.275
  },
  "oklch": {
    "l": 0.24986,
    "c": 0.09341,
    "h": 308
  },
  "luminance": 0.01357
}

Semantic roles & 50–950 ramp

primary
#2E1043
secondary
#517D32
accent
#E54386
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060209
muted
#7A787B

Preview Lab

Preview with #2E1043

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

Preview Lab → · Contrast checker → · Palette generator →

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