#2E243A#2E243A

#2E243A is a dark, muted violet. Relative luminance 0.021; OKLCH L 28.2% C 0.042 H 304.7°. Best body text is #FFFFFF at 14.69:1 contrast (WCAG AA passes).

Color values

HEX#2E243A
RGBrgb(46, 36, 58)
HSLhsl(267, 23%, 18%)
HSVhsv(267, 38%, 23%)
CMYKcmyk(20.7%, 37.9%, 0%, 77.3%)
CIE-LABlab(16.25, 10.13, -12.43)
CIE-LCHlch(16.25, 16.03, 309.17°)
OKLaboklab(28.2% 0.0237 -0.0342)
OKLCHoklch(28.2% 0.042 304.7)
XYZxyz(2.5212, 2.1481, 4.2840)
Luminance0.0215 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E243A #303A24
analogous
#24253A #2E243A #39243A
triadic
#2E243A #3A2E24 #243A2E
tetradic
#2E243A #3A2425 #303A24 #243A39
square
#2E243A #3A2425 #303A24 #243A39
split-complementary
#2E243A #3A3924 #253A24
monochromatic
#0F0C13 #100D14 #2E243A #4C3B60 #6A5386

Accessibility & contrast

On white

14.69
#2E243A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E243A
14.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E243A#FFFFFF#000000##FFFFFF
##2E243A1.0014.691.4314.69
#FFFFFF14.691.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F283B
Deuteranopia (green-blind)
#212839
Tritanopia (blue-blind)
#2C272C
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #2e243a;
/* rgb */ color: rgb(46, 36, 58);
/* oklch */ color: oklch(28.2% 0.042 304.7);
Tailwind
colors: {
  custom: {
    50: '#675e70',
    500: '#2e243a',
    950: '#000000',
  },
}
SCSS
$custom: #2e243a;
$custom-light: #675e70;
$custom-dark: #000000;
JSON
{
  "hex": "#2e243a",
  "rgb": {
    "r": 46,
    "g": 36,
    "b": 58
  },
  "hsl": {
    "h": 267.273,
    "s": 23.404,
    "l": 18.431
  },
  "oklch": {
    "l": 0.28197,
    "c": 0.04166,
    "h": 304.7
  },
  "luminance": 0.02148
}

Semantic roles & 50–950 ramp

primary
#2E243A
secondary
#5E6C4E
accent
#C06898
background
#F6F5F6
surface
#EBE9EC
border
#C6C5C7
text
#060407
muted
#7A797A

Preview Lab

Preview with #2E243A

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

Preview Lab → · Contrast checker → · Palette generator →

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