#2E243E#2E243E

#2E243E is a dark, muted violet. Relative luminance 0.022; OKLCH L 28.4% C 0.048 H 301.1°. Best body text is #FFFFFF at 14.60:1 contrast (WCAG AA passes).

Color values

HEX#2E243E
RGBrgb(46, 36, 62)
HSLhsl(263, 27%, 19%)
HSVhsv(263, 42%, 24%)
CMYKcmyk(25.8%, 41.9%, 0%, 75.7%)
CIE-LABlab(16.46, 11.27, -14.89)
CIE-LCHlch(16.46, 18.68, 307.13°)
OKLaboklab(28.43% 0.0249 -0.0413)
OKLCHoklch(28.43% 0.048 301.1)
XYZxyz(2.6269, 2.1904, 4.8409)
Luminance0.0219 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E243E #343E24
analogous
#24273E #2E243E #3B243E
triadic
#2E243E #3E2E24 #243E2E
tetradic
#2E243E #3E2427 #343E24 #243E3B
square
#2E243E #3E2427 #343E24 #243E3B
split-complementary
#2E243E #3E3B24 #273E24
monochromatic
#0E0B13 #110E17 #2E243E #4B3A65 #67518B

Accessibility & contrast

On white

14.60
#2E243E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#2E243E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E243E
14.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E243E#FFFFFF#000000##FFFFFF
##2E243E1.0014.601.4414.60
#FFFFFF14.601.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E293F
Deuteranopia (green-blind)
#20293D
Tritanopia (blue-blind)
#2B282E
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #2e243e;
/* rgb */ color: rgb(46, 36, 62);
/* oklch */ color: oklch(28.4% 0.048 301.1);
Tailwind
colors: {
  custom: {
    50: '#675e73',
    500: '#2e243e',
    950: '#000000',
  },
}
SCSS
$custom: #2e243e;
$custom-light: #675e73;
$custom-dark: #000000;
JSON
{
  "hex": "#2e243e",
  "rgb": {
    "r": 46,
    "g": 36,
    "b": 62
  },
  "hsl": {
    "h": 263.077,
    "s": 26.531,
    "l": 19.216
  },
  "oklch": {
    "l": 0.28426,
    "c": 0.04825,
    "h": 301.1
  },
  "luminance": 0.0219
}

Semantic roles & 50–950 ramp

primary
#2E243E
secondary
#63714D
accent
#C3659F
background
#F6F5F7
surface
#EBE9ED
border
#C6C5C8
text
#060408
muted
#7A797B

Preview Lab

Preview with #2E243E

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

Preview Lab → · Contrast checker → · Palette generator →

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