#2E183E#2E183E

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

Color values

HEX#2E183E
RGBrgb(46, 24, 62)
HSLhsl(275, 44%, 17%)
HSVhsv(275, 61%, 24%)
CMYKcmyk(25.8%, 61.3%, 0%, 75.7%)
CIE-LABlab(13.12, 19.58, -20.15)
CIE-LCHlch(13.12, 28.09, 314.18°)
OKLaboklab(25.92% 0.0457 -0.0565)
OKLCHoklch(25.92% 0.073 308.9)
XYZxyz(2.3227, 1.5819, 4.7395)
Luminance0.0158 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E183E #283E18
analogous
#1B183E #2E183E #3E183B
triadic
#2E183E #3E2E18 #183E2E
tetradic
#2E183E #3E1B18 #283E18 #183B3E
square
#2E183E #3E1B18 #283E18 #183B3E
split-complementary
#2E183E #3B3E18 #183E1B
monochromatic
#100916 #100916 #2E183E #4F296A #6F3A96

Accessibility & contrast

On white

15.95
#2E183E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#2E183E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E183E
15.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E183E#FFFFFF#000000##FFFFFF
##2E183E1.0015.951.3215.95
#FFFFFF15.951.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D213F
Deuteranopia (green-blind)
#14223D
Tritanopia (blue-blind)
#2C1F28
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #2e183e;
/* rgb */ color: rgb(46, 24, 62);
/* oklch */ color: oklch(25.9% 0.073 308.9);
Tailwind
colors: {
  custom: {
    50: '#685673',
    500: '#2e183e',
    950: '#000000',
  },
}
SCSS
$custom: #2e183e;
$custom-light: #685673;
$custom-dark: #000000;
JSON
{
  "hex": "#2e183e",
  "rgb": {
    "r": 46,
    "g": 24,
    "b": 62
  },
  "hsl": {
    "h": 274.737,
    "s": 44.186,
    "l": 16.863
  },
  "oklch": {
    "l": 0.25924,
    "c": 0.07265,
    "h": 308.9
  },
  "luminance": 0.01582
}

Semantic roles & 50–950 ramp

primary
#2E183E
secondary
#55743D
accent
#D4548A
background
#F6F5F7
surface
#EBE9ED
border
#C6C5C8
text
#060308
muted
#7A787B

Preview Lab

Preview with #2E183E

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

Preview Lab → · Contrast checker → · Palette generator →

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