#2E263F#2E263F

#2E263F is a dark, muted violet. Relative luminance 0.023; OKLCH L 28.9% C 0.046 H 298.2°. Best body text is #FFFFFF at 14.33:1 contrast (WCAG AA passes).

Color values

HEX#2E263F
RGBrgb(46, 38, 63)
HSLhsl(259, 25%, 20%)
HSVhsv(259, 40%, 25%)
CMYKcmyk(27%, 39.7%, 0%, 75.3%)
CIE-LABlab(17.11, 10.15, -14.57)
CIE-LCHlch(17.11, 17.75, 304.88°)
OKLaboklab(28.94% 0.0217 -0.0404)
OKLCHoklch(28.94% 0.046 298.2)
XYZxyz(2.7168, 2.3259, 5.0075)
Luminance0.0233 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E263F #373F26
analogous
#262B3F #2E263F #3B263F
triadic
#2E263F #3F2E26 #263F2E
tetradic
#2E263F #3F262B #373F26 #263F3B
square
#2E263F #3F262B #373F26 #263F3B
split-complementary
#2E263F #3F3B26 #2B3F26
monochromatic
#0E0C13 #120F19 #2E263F #4A3D65 #66548B

Accessibility & contrast

On white

14.33
#2E263F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#2E263F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E263F
14.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E263F#FFFFFF#000000##FFFFFF
##2E263F1.0014.331.4714.33
#FFFFFF14.331.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#202A40
Deuteranopia (green-blind)
#212A3E
Tritanopia (blue-blind)
#2B2A2F
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #2e263f;
/* rgb */ color: rgb(46, 38, 63);
/* oklch */ color: oklch(28.9% 0.046 298.2);
Tailwind
colors: {
  custom: {
    50: '#676074',
    500: '#2e263f',
    950: '#000000',
  },
}
SCSS
$custom: #2e263f;
$custom-light: #676074;
$custom-dark: #000000;
JSON
{
  "hex": "#2e263f",
  "rgb": {
    "r": 46,
    "g": 38,
    "b": 63
  },
  "hsl": {
    "h": 259.2,
    "s": 24.752,
    "l": 19.804
  },
  "oklch": {
    "l": 0.28944,
    "c": 0.04583,
    "h": 298.2
  },
  "luminance": 0.02326
}

Semantic roles & 50–950 ramp

primary
#2E263F
secondary
#667150
accent
#C167A4
background
#F6F5F7
surface
#EBE9ED
border
#C6C5C8
text
#060408
muted
#7A797B

Preview Lab

Preview with #2E263F

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

Preview Lab → · Contrast checker → · Palette generator →

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