#2E183D#2E183D

#2E183D is a dark, moderate violet. Relative luminance 0.016; OKLCH L 25.9% C 0.071 H 309.8°. Best body text is #FFFFFF at 15.98:1 contrast (WCAG AA passes).

Color values

HEX#2E183D
RGBrgb(46, 24, 61)
HSLhsl(276, 44%, 17%)
HSVhsv(276, 61%, 24%)
CMYKcmyk(24.6%, 60.7%, 0%, 76.1%)
CIE-LABlab(13.05, 19.30, -19.55)
CIE-LCHlch(13.05, 27.47, 314.63°)
OKLaboklab(25.85% 0.0456 -0.0548)
OKLCHoklch(25.85% 0.071 309.8)
XYZxyz(2.2955, 1.5711, 4.5963)
Luminance0.0157 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E183D #273D18
analogous
#1C183D #2E183D #3D183A
triadic
#2E183D #3D2E18 #183D2E
tetradic
#2E183D #3D1C18 #273D18 #183A3D
square
#2E183D #3D1C18 #273D18 #183A3D
split-complementary
#2E183D #3A3D18 #183D1C
monochromatic
#110916 #110916 #2E183D #4F2969 #703B95

Accessibility & contrast

On white

15.98
#2E183D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#2E183D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E183D
15.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E183D#FFFFFF#000000##FFFFFF
##2E183D1.0015.981.3115.98
#FFFFFF15.981.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF15.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E213E
Deuteranopia (green-blind)
#15223C
Tritanopia (blue-blind)
#2C1E27
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #2e183d;
/* rgb */ color: rgb(46, 24, 61);
/* oklch */ color: oklch(25.9% 0.071 309.8);
Tailwind
colors: {
  custom: {
    50: '#685672',
    500: '#2e183d',
    950: '#000000',
  },
}
SCSS
$custom: #2e183d;
$custom-light: #685672;
$custom-dark: #000000;
JSON
{
  "hex": "#2e183d",
  "rgb": {
    "r": 46,
    "g": 24,
    "b": 61
  },
  "hsl": {
    "h": 275.676,
    "s": 43.529,
    "l": 16.667
  },
  "oklch": {
    "l": 0.25853,
    "c": 0.07123,
    "h": 309.8
  },
  "luminance": 0.01571
}

Semantic roles & 50–950 ramp

primary
#2E183D
secondary
#53733D
accent
#D35588
background
#F6F5F6
surface
#EBE9EC
border
#C6C5C7
text
#060308
muted
#7A787B

Preview Lab

Preview with #2E183D

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

Preview Lab → · Contrast checker → · Palette generator →

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