#2E253F#2E253F

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

Color values

HEX#2E253F
RGBrgb(46, 37, 63)
HSLhsl(261, 26%, 20%)
HSVhsv(261, 41%, 25%)
CMYKcmyk(27%, 41.3%, 0%, 75.3%)
CIE-LABlab(16.81, 10.86, -15.04)
CIE-LCHlch(16.81, 18.55, 305.84°)
OKLaboklab(28.71% 0.0234 -0.0417)
OKLCHoklch(28.71% 0.048 299.3)
XYZxyz(2.6853, 2.2628, 4.9970)
Luminance0.0226 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E253F #363F25
analogous
#25293F #2E253F #3B253F
triadic
#2E253F #3F2E25 #253F2E
tetradic
#2E253F #3F2529 #363F25 #253F3B
square
#2E253F #3F2529 #363F25 #253F3B
split-complementary
#2E253F #3F3B25 #293F25
monochromatic
#0E0B13 #120E18 #2E253F #4A3C66 #66528C

Accessibility & contrast

On white

14.46
#2E253F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E253F
14.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E253F#FFFFFF#000000##FFFFFF
##2E253F1.0014.461.4514.46
#FFFFFF14.461.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F2940
Deuteranopia (green-blind)
#20293E
Tritanopia (blue-blind)
#2B292F
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #2e253f;
/* rgb */ color: rgb(46, 37, 63);
/* oklch */ color: oklch(28.7% 0.048 299.3);
Tailwind
colors: {
  custom: {
    50: '#675f74',
    500: '#2e253f',
    950: '#000000',
  },
}
SCSS
$custom: #2e253f;
$custom-light: #675f74;
$custom-dark: #000000;
JSON
{
  "hex": "#2e253f",
  "rgb": {
    "r": 46,
    "g": 37,
    "b": 63
  },
  "hsl": {
    "h": 260.769,
    "s": 26,
    "l": 19.608
  },
  "oklch": {
    "l": 0.28713,
    "c": 0.04786,
    "h": 299.3
  },
  "luminance": 0.02263
}

Semantic roles & 50–950 ramp

primary
#2E253F
secondary
#65714E
accent
#C265A2
background
#F6F5F7
surface
#EBE9ED
border
#C6C5C8
text
#060408
muted
#7A797B

Preview Lab

Preview with #2E253F

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

Preview Lab → · Contrast checker → · Palette generator →

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