#2E253A#2E253A

#2E253A is a dark, muted violet. Relative luminance 0.022; OKLCH L 28.4% C 0.040 H 303.6°. Best body text is #FFFFFF at 14.57:1 contrast (WCAG AA passes).

Color values

HEX#2E253A
RGBrgb(46, 37, 58)
HSLhsl(266, 22%, 19%)
HSVhsv(266, 36%, 23%)
CMYKcmyk(20.7%, 36.2%, 0%, 77.3%)
CIE-LABlab(16.55, 9.41, -11.96)
CIE-LCHlch(16.55, 15.22, 308.22°)
OKLaboklab(28.43% 0.0219 -0.0329)
OKLCHoklch(28.43% 0.04 303.6)
XYZxyz(2.5518, 2.2095, 4.2942)
Luminance0.0221 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E253A #313A25
analogous
#25263A #2E253A #38253A
triadic
#2E253A #3A2E25 #253A2E
tetradic
#2E253A #3A2526 #313A25 #253A38
square
#2E253A #3A2526 #313A25 #253A38
split-complementary
#2E253A #3A3825 #263A25
monochromatic
#0F0C13 #100D15 #2E253A #4C3D5F #695585

Accessibility & contrast

On white

14.57
#2E253A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E253A
14.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E253A#FFFFFF#000000##FFFFFF
##2E253A1.0014.571.4414.57
#FFFFFF14.571.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#21293B
Deuteranopia (green-blind)
#222939
Tritanopia (blue-blind)
#2C282D
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #2e253a;
/* rgb */ color: rgb(46, 37, 58);
/* oklch */ color: oklch(28.4% 0.040 303.6);
Tailwind
colors: {
  custom: {
    50: '#675f70',
    500: '#2e253a',
    950: '#000000',
  },
}
SCSS
$custom: #2e253a;
$custom-light: #675f70;
$custom-dark: #000000;
JSON
{
  "hex": "#2e253a",
  "rgb": {
    "r": 46,
    "g": 37,
    "b": 58
  },
  "hsl": {
    "h": 265.714,
    "s": 22.105,
    "l": 18.627
  },
  "oklch": {
    "l": 0.28429,
    "c": 0.03954,
    "h": 303.6
  },
  "luminance": 0.02209
}

Semantic roles & 50–950 ramp

primary
#2E253A
secondary
#5F6C4F
accent
#BF699A
background
#F6F5F6
surface
#EBE9EC
border
#C6C5C7
text
#060407
muted
#7A797A

Preview Lab

Preview with #2E253A

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

Preview Lab → · Contrast checker → · Palette generator →

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