#2E243B#2E243B

#2E243B is a dark, muted violet. Relative luminance 0.022; OKLCH L 28.3% C 0.043 H 303.7°. Best body text is #FFFFFF at 14.67:1 contrast (WCAG AA passes).

Color values

HEX#2E243B
RGBrgb(46, 36, 59)
HSLhsl(266, 24%, 19%)
HSVhsv(266, 39%, 23%)
CMYKcmyk(22%, 39%, 0%, 76.9%)
CIE-LABlab(16.30, 10.41, -13.05)
CIE-LCHlch(16.30, 16.69, 308.58°)
OKLaboklab(28.25% 0.024 -0.036)
OKLCHoklch(28.25% 0.043 303.7)
XYZxyz(2.5468, 2.1584, 4.4193)
Luminance0.0216 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E243B #313B24
analogous
#24253B #2E243B #39243B
triadic
#2E243B #3B2E24 #243B2E
tetradic
#2E243B #3B2425 #313B24 #243B39
square
#2E243B #3B2425 #313B24 #243B39
split-complementary
#2E243B #3B3924 #253B24
monochromatic
#0F0C13 #100D15 #2E243B #4C3B61 #695287

Accessibility & contrast

On white

14.67
#2E243B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#2E243B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E243B
14.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E243B#FFFFFF#000000##FFFFFF
##2E243B1.0014.671.4314.67
#FFFFFF14.671.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F283C
Deuteranopia (green-blind)
#21283A
Tritanopia (blue-blind)
#2C272C
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #2e243b;
/* rgb */ color: rgb(46, 36, 59);
/* oklch */ color: oklch(28.3% 0.043 303.7);
Tailwind
colors: {
  custom: {
    50: '#675e71',
    500: '#2e243b',
    950: '#000000',
  },
}
SCSS
$custom: #2e243b;
$custom-light: #675e71;
$custom-dark: #000000;
JSON
{
  "hex": "#2e243b",
  "rgb": {
    "r": 46,
    "g": 36,
    "b": 59
  },
  "hsl": {
    "h": 266.087,
    "s": 24.211,
    "l": 18.627
  },
  "oklch": {
    "l": 0.28253,
    "c": 0.04331,
    "h": 303.7
  },
  "luminance": 0.02158
}

Semantic roles & 50–950 ramp

primary
#2E243B
secondary
#5F6D4E
accent
#C1679A
background
#F6F5F6
surface
#EBE9EC
border
#C6C5C7
text
#060407
muted
#7A797A

Preview Lab

Preview with #2E243B

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

Preview Lab → · Contrast checker → · Palette generator →

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