#2E253B#2E253B

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

Color values

HEX#2E253B
RGBrgb(46, 37, 59)
HSLhsl(265, 23%, 19%)
HSVhsv(265, 37%, 23%)
CMYKcmyk(22%, 37.3%, 0%, 76.9%)
CIE-LABlab(16.60, 9.70, -12.58)
CIE-LCHlch(16.60, 15.88, 307.64°)
OKLaboklab(28.48% 0.0222 -0.0347)
OKLCHoklch(28.48% 0.041 302.6)
XYZxyz(2.5775, 2.2197, 4.4295)
Luminance0.0222 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E253B #323B25
analogous
#25273B #2E253B #39253B
triadic
#2E253B #3B2E25 #253B2E
tetradic
#2E253B #3B2527 #323B25 #253B39
square
#2E253B #3B2527 #323B25 #253B39
split-complementary
#2E253B #3B3925 #273B25
monochromatic
#0F0C13 #110D15 #2E253B #4B3D61 #695486

Accessibility & contrast

On white

14.54
#2E253B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E253B
14.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E253B#FFFFFF#000000##FFFFFF
##2E253B1.0014.541.4414.54
#FFFFFF14.541.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#20293C
Deuteranopia (green-blind)
#22293A
Tritanopia (blue-blind)
#2C282D
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #2e253b;
/* rgb */ color: rgb(46, 37, 59);
/* oklch */ color: oklch(28.5% 0.041 302.6);
Tailwind
colors: {
  custom: {
    50: '#675f71',
    500: '#2e253b',
    950: '#000000',
  },
}
SCSS
$custom: #2e253b;
$custom-light: #675f71;
$custom-dark: #000000;
JSON
{
  "hex": "#2e253b",
  "rgb": {
    "r": 46,
    "g": 37,
    "b": 59
  },
  "hsl": {
    "h": 264.545,
    "s": 22.917,
    "l": 18.824
  },
  "oklch": {
    "l": 0.28484,
    "c": 0.0412,
    "h": 302.6
  },
  "luminance": 0.0222
}

Semantic roles & 50–950 ramp

primary
#2E253B
secondary
#616D4F
accent
#BF689C
background
#F6F5F6
surface
#EBE9EC
border
#C6C5C7
text
#060407
muted
#7A797A

Preview Lab

Preview with #2E253B

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

Preview Lab → · Contrast checker → · Palette generator →

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