#2E123D#2E123D

#2E123D is a very dark, moderate violet. Relative luminance 0.013; OKLCH L 24.8% C 0.082 H 311.9°. Best body text is #FFFFFF at 16.54:1 contrast (WCAG AA passes).

Color values

HEX#2E123D
RGBrgb(46, 18, 61)
HSLhsl(279, 54%, 15%)
HSVhsv(279, 70%, 24%)
CMYKcmyk(24.6%, 70.5%, 0%, 76.1%)
CIE-LABlab(11.62, 23.11, -21.82)
CIE-LCHlch(11.62, 31.78, 316.63°)
OKLaboklab(24.81% 0.0551 -0.0614)
OKLCHoklch(24.81% 0.082 311.9)
XYZxyz(2.1852, 1.3504, 4.5595)
Luminance0.0135 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E123D #213D12
analogous
#18123D #2E123D #3D1236
triadic
#2E123D #3D2E12 #123D2E
tetradic
#2E123D #3D1812 #213D12 #12363D
square
#2E123D #3D1812 #213D12 #12363D
split-complementary
#2E123D #363D12 #123D18
monochromatic
#120718 #120718 #2E123D #52206C #752E9C

Accessibility & contrast

On white

16.54
#2E123D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E123D
16.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E123D#FFFFFF#000000##FFFFFF
##2E123D1.0016.541.2716.54
#FFFFFF16.541.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#031D3E
Deuteranopia (green-blind)
#0F1F3C
Tritanopia (blue-blind)
#2C1A25
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #2e123d;
/* rgb */ color: rgb(46, 18, 61);
/* oklch */ color: oklch(24.8% 0.082 311.9);
Tailwind
colors: {
  custom: {
    50: '#685273',
    500: '#2e123d',
    950: '#000000',
  },
}
SCSS
$custom: #2e123d;
$custom-light: #685273;
$custom-dark: #000000;
JSON
{
  "hex": "#2e123d",
  "rgb": {
    "r": 46,
    "g": 18,
    "b": 61
  },
  "hsl": {
    "h": 279.07,
    "s": 54.43,
    "l": 15.49
  },
  "oklch": {
    "l": 0.24807,
    "c": 0.08248,
    "h": 311.9
  },
  "luminance": 0.0135
}

Semantic roles & 50–950 ramp

primary
#2E123D
secondary
#4C7635
accent
#DE4A7E
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060208
muted
#7A787B

Preview Lab

Preview with #2E123D

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

Preview Lab → · Contrast checker → · Palette generator →

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