#2E263E#2E263E

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

Color values

HEX#2E263E
RGBrgb(46, 38, 62)
HSLhsl(260, 24%, 20%)
HSVhsv(260, 39%, 24%)
CMYKcmyk(25.8%, 38.7%, 0%, 75.7%)
CIE-LABlab(17.06, 9.86, -13.95)
CIE-LCHlch(17.06, 17.08, 305.24°)
OKLaboklab(28.89% 0.0214 -0.0386)
OKLCHoklch(28.89% 0.044 298.9)
XYZxyz(2.6891, 2.3149, 4.8616)
Luminance0.0232 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E263E #363E26
analogous
#262A3E #2E263E #3A263E
triadic
#2E263E #3E2E26 #263E2E
tetradic
#2E263E #3E262A #363E26 #263E3A
square
#2E263E #3E262A #363E26 #263E3A
split-complementary
#2E263E #3E3A26 #2A3E26
monochromatic
#0E0C13 #120F18 #2E263E #4A3D64 #66558A

Accessibility & contrast

On white

14.35
#2E263E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#2E263E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E263E
14.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E263E#FFFFFF#000000##FFFFFF
##2E263E1.0014.351.4614.35
#FFFFFF14.351.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#202A3F
Deuteranopia (green-blind)
#222A3D
Tritanopia (blue-blind)
#2B2A2F
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #2e263e;
/* rgb */ color: rgb(46, 38, 62);
/* oklch */ color: oklch(28.9% 0.044 298.9);
Tailwind
colors: {
  custom: {
    50: '#676073',
    500: '#2e263e',
    950: '#000000',
  },
}
SCSS
$custom: #2e263e;
$custom-light: #676073;
$custom-dark: #000000;
JSON
{
  "hex": "#2e263e",
  "rgb": {
    "r": 46,
    "g": 38,
    "b": 62
  },
  "hsl": {
    "h": 260,
    "s": 24,
    "l": 19.608
  },
  "oklch": {
    "l": 0.28886,
    "c": 0.04414,
    "h": 298.9
  },
  "luminance": 0.02315
}

Semantic roles & 50–950 ramp

primary
#2E263E
secondary
#657050
accent
#C067A3
background
#F6F5F7
surface
#EBE9ED
border
#C6C5C8
text
#060408
muted
#7A797B

Preview Lab

Preview with #2E263E

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

Preview Lab → · Contrast checker → · Palette generator →

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