#2E133D#2E133D

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

Color values

HEX#2E133D
RGBrgb(46, 19, 61)
HSLhsl(279, 53%, 16%)
HSVhsv(279, 69%, 24%)
CMYKcmyk(24.6%, 68.9%, 0%, 76.1%)
CIE-LABlab(11.85, 22.50, -21.47)
CIE-LCHlch(11.85, 31.09, 316.34°)
OKLaboklab(24.97% 0.0536 -0.0603)
OKLCHoklch(24.97% 0.081 311.6)
XYZxyz(2.2017, 1.3836, 4.5650)
Luminance0.0138 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E133D #223D13
analogous
#19133D #2E133D #3D1337
triadic
#2E133D #3D2E13 #133D2E
tetradic
#2E133D #3D1913 #223D13 #13373D
square
#2E133D #3D1913 #223D13 #13373D
split-complementary
#2E133D #373D13 #133D19
monochromatic
#120717 #120717 #2E133D #51226C #74309A

Accessibility & contrast

On white

16.45
#2E133D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E133D
16.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E133D#FFFFFF#000000##FFFFFF
##2E133D1.0016.451.2816.45
#FFFFFF16.451.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#051E3E
Deuteranopia (green-blind)
#10203C
Tritanopia (blue-blind)
#2C1B25
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #2e133d;
/* rgb */ color: rgb(46, 19, 61);
/* oklch */ color: oklch(25.0% 0.081 311.6);
Tailwind
colors: {
  custom: {
    50: '#685273',
    500: '#2e133d',
    950: '#000000',
  },
}
SCSS
$custom: #2e133d;
$custom-light: #685273;
$custom-dark: #000000;
JSON
{
  "hex": "#2e133d",
  "rgb": {
    "r": 46,
    "g": 19,
    "b": 61
  },
  "hsl": {
    "h": 278.571,
    "s": 52.5,
    "l": 15.686
  },
  "oklch": {
    "l": 0.2497,
    "c": 0.08069,
    "h": 311.6
  },
  "luminance": 0.01384
}

Semantic roles & 50–950 ramp

primary
#2E133D
secondary
#4D7536
accent
#DC4C7F
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#060208
muted
#7A787B

Preview Lab

Preview with #2E133D

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

Preview Lab → · Contrast checker → · Palette generator →

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