#2E283D#2E283D

#2E283D is a dark, muted violet. Relative luminance 0.024; OKLCH L 29.3% C 0.038 H 297.1°. Best body text is #FFFFFF at 14.12:1 contrast (WCAG AA passes).

Color values

HEX#2E283D
RGBrgb(46, 40, 61)
HSLhsl(257, 21%, 20%)
HSVhsv(257, 34%, 24%)
CMYKcmyk(24.6%, 34.4%, 0%, 76.1%)
CIE-LABlab(17.62, 8.15, -12.39)
CIE-LCHlch(17.62, 14.83, 303.35°)
OKLaboklab(29.3% 0.0175 -0.0342)
OKLCHoklch(29.3% 0.038 297.1)
XYZxyz(2.7276, 2.4353, 4.7403)
Luminance0.0244 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E283D #373D28
analogous
#282D3D #2E283D #39283D
triadic
#2E283D #3D2E28 #283D2E
tetradic
#2E283D #3D282D #373D28 #283D39
square
#2E283D #3D282D #373D28 #283D39
split-complementary
#2E283D #3D3928 #2D3D28
monochromatic
#0E0C12 #121018 #2E283D #4A4062 #665887

Accessibility & contrast

On white

14.12
#2E283D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#2E283D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E283D
14.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E283D#FFFFFF#000000##FFFFFF
##2E283D1.0014.121.4914.12
#FFFFFF14.121.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#232B3E
Deuteranopia (green-blind)
#242B3C
Tritanopia (blue-blind)
#2B2B2F
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #2e283d;
/* rgb */ color: rgb(46, 40, 61);
/* oklch */ color: oklch(29.3% 0.038 297.1);
Tailwind
colors: {
  custom: {
    50: '#676172',
    500: '#2e283d',
    950: '#000000',
  },
}
SCSS
$custom: #2e283d;
$custom-light: #676172;
$custom-dark: #000000;
JSON
{
  "hex": "#2e283d",
  "rgb": {
    "r": 46,
    "g": 40,
    "b": 61
  },
  "hsl": {
    "h": 257.143,
    "s": 20.792,
    "l": 19.804
  },
  "oklch": {
    "l": 0.29302,
    "c": 0.03837,
    "h": 297.1
  },
  "luminance": 0.02435
}

Semantic roles & 50–950 ramp

primary
#2E283D
secondary
#666E52
accent
#BD6AA6
background
#F6F5F6
surface
#EBE9EC
border
#C6C5C7
text
#060508
muted
#7A797B

Preview Lab

Preview with #2E283D

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

Preview Lab → · Contrast checker → · Palette generator →

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