#2E263A#2E263A

#2E263A is a dark, muted violet. Relative luminance 0.023; OKLCH L 28.7% C 0.037 H 302.4°. Best body text is #FFFFFF at 14.44:1 contrast (WCAG AA passes).

Color values

HEX#2E263A
RGBrgb(46, 38, 58)
HSLhsl(264, 21%, 19%)
HSVhsv(264, 34%, 23%)
CMYKcmyk(20.7%, 34.5%, 0%, 77.3%)
CIE-LABlab(16.86, 8.71, -11.48)
CIE-LCHlch(16.86, 14.41, 307.17°)
OKLaboklab(28.66% 0.0201 -0.0316)
OKLCHoklch(28.66% 0.037 302.4)
XYZxyz(2.5834, 2.2726, 4.3047)
Luminance0.0227 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E263A #323A26
analogous
#26283A #2E263A #38263A
triadic
#2E263A #3A2E26 #263A2E
tetradic
#2E263A #3A2628 #323A26 #263A38
square
#2E263A #3A2628 #323A26 #263A38
split-complementary
#2E263A #3A3826 #283A26
monochromatic
#0F0C12 #110E15 #2E263A #4B3E5F #695684

Accessibility & contrast

On white

14.44
#2E263A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#2E263A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E263A
14.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E263A#FFFFFF#000000##FFFFFF
##2E263A1.0014.441.4514.44
#FFFFFF14.441.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#22293B
Deuteranopia (green-blind)
#232A39
Tritanopia (blue-blind)
#2C292D
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #2e263a;
/* rgb */ color: rgb(46, 38, 58);
/* oklch */ color: oklch(28.7% 0.037 302.4);
Tailwind
colors: {
  custom: {
    50: '#676070',
    500: '#2e263a',
    950: '#000000',
  },
}
SCSS
$custom: #2e263a;
$custom-light: #676070;
$custom-dark: #000000;
JSON
{
  "hex": "#2e263a",
  "rgb": {
    "r": 46,
    "g": 38,
    "b": 58
  },
  "hsl": {
    "h": 264,
    "s": 20.833,
    "l": 18.824
  },
  "oklch": {
    "l": 0.28664,
    "c": 0.03742,
    "h": 302.4
  },
  "luminance": 0.02273
}

Semantic roles & 50–950 ramp

primary
#2E263A
secondary
#616C50
accent
#BD6A9C
background
#F6F5F6
surface
#EBE9EC
border
#C6C5C7
text
#060407
muted
#7A797A

Preview Lab

Preview with #2E263A

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

Preview Lab → · Contrast checker → · Palette generator →

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