#2E243F#2E243F

#2E243F is a dark, muted violet. Relative luminance 0.022; OKLCH L 28.5% C 0.050 H 300.3°. Best body text is #FFFFFF at 14.58:1 contrast (WCAG AA passes).

Color values

HEX#2E243F
RGBrgb(46, 36, 63)
HSLhsl(262, 27%, 19%)
HSVhsv(262, 43%, 25%)
CMYKcmyk(27%, 42.9%, 0%, 75.3%)
CIE-LABlab(16.51, 11.57, -15.50)
CIE-LCHlch(16.51, 19.34, 306.73°)
OKLaboklab(28.49% 0.0252 -0.0431)
OKLCHoklch(28.49% 0.05 300.3)
XYZxyz(2.6546, 2.2015, 4.9867)
Luminance0.0220 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E243F #353F24
analogous
#24283F #2E243F #3C243F
triadic
#2E243F #3F2E24 #243F2E
tetradic
#2E243F #3F2428 #353F24 #243F3C
square
#2E243F #3F2428 #353F24 #243F3C
split-complementary
#2E243F #3F3C24 #283F24
monochromatic
#0E0B13 #120E18 #2E243F #4A3A66 #67518D

Accessibility & contrast

On white

14.58
#2E243F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E243F
14.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E243F#FFFFFF#000000##FFFFFF
##2E243F1.0014.581.4414.58
#FFFFFF14.581.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D2940
Deuteranopia (green-blind)
#1F293E
Tritanopia (blue-blind)
#2B282E
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #2e243f;
/* rgb */ color: rgb(46, 36, 63);
/* oklch */ color: oklch(28.5% 0.050 300.3);
Tailwind
colors: {
  custom: {
    50: '#675e74',
    500: '#2e243f',
    950: '#000000',
  },
}
SCSS
$custom: #2e243f;
$custom-light: #675e74;
$custom-dark: #000000;
JSON
{
  "hex": "#2e243f",
  "rgb": {
    "r": 46,
    "g": 36,
    "b": 63
  },
  "hsl": {
    "h": 262.222,
    "s": 27.273,
    "l": 19.412
  },
  "oklch": {
    "l": 0.28486,
    "c": 0.0499,
    "h": 300.3
  },
  "luminance": 0.02201
}

Semantic roles & 50–950 ramp

primary
#2E243F
secondary
#64724D
accent
#C464A0
background
#F6F5F7
surface
#EBE9ED
border
#C6C5C8
text
#060408
muted
#7A797B

Preview Lab

Preview with #2E243F

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

Preview Lab → · Contrast checker → · Palette generator →

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