#2E243C#2E243C

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

Color values

HEX#2E243C
RGBrgb(46, 36, 60)
HSLhsl(265, 25%, 19%)
HSVhsv(265, 40%, 24%)
CMYKcmyk(23.3%, 40%, 0%, 76.5%)
CIE-LABlab(16.35, 10.69, -13.67)
CIE-LCHlch(16.35, 17.35, 308.05°)
OKLaboklab(28.31% 0.0243 -0.0378)
OKLCHoklch(28.31% 0.045 302.8)
XYZxyz(2.5730, 2.1688, 4.5572)
Luminance0.0217 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E243C #323C24
analogous
#24263C #2E243C #3A243C
triadic
#2E243C #3C2E24 #243C2E
tetradic
#2E243C #3C2426 #323C24 #243C3A
square
#2E243C #3C2426 #323C24 #243C3A
split-complementary
#2E243C #3C3A24 #263C24
monochromatic
#0F0B13 #110D16 #2E243C #4B3B62 #695289

Accessibility & contrast

On white

14.65
#2E243C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E243C
14.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E243C#FFFFFF#000000##FFFFFF
##2E243C1.0014.651.4314.65
#FFFFFF14.651.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F283D
Deuteranopia (green-blind)
#21283B
Tritanopia (blue-blind)
#2C282D
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #2e243c;
/* rgb */ color: rgb(46, 36, 60);
/* oklch */ color: oklch(28.3% 0.045 302.8);
Tailwind
colors: {
  custom: {
    50: '#675e71',
    500: '#2e243c',
    950: '#000000',
  },
}
SCSS
$custom: #2e243c;
$custom-light: #675e71;
$custom-dark: #000000;
JSON
{
  "hex": "#2e243c",
  "rgb": {
    "r": 46,
    "g": 36,
    "b": 60
  },
  "hsl": {
    "h": 265,
    "s": 25,
    "l": 18.824
  },
  "oklch": {
    "l": 0.2831,
    "c": 0.04495,
    "h": 302.8
  },
  "luminance": 0.02169
}

Semantic roles & 50–950 ramp

primary
#2E243C
secondary
#616E4D
accent
#C1669B
background
#F6F5F6
surface
#EBE9EC
border
#C6C5C7
text
#060407
muted
#7A797A

Preview Lab

Preview with #2E243C

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

Preview Lab → · Contrast checker → · Palette generator →

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