#2D113B#2D113B

#2D113B is a very dark, moderate purple. Relative luminance 0.013; OKLCH L 24.3% C 0.081 H 312.7°. Best body text is #FFFFFF at 16.73:1 contrast (WCAG AA passes).

Color values

HEX#2D113B
RGBrgb(45, 17, 59)
HSLhsl(280, 55%, 15%)
HSVhsv(280, 71%, 23%)
CMYKcmyk(23.7%, 71.2%, 0%, 76.9%)
CIE-LABlab(11.10, 22.88, -21.25)
CIE-LCHlch(11.10, 31.22, 317.11°)
OKLaboklab(24.34% 0.0551 -0.0597)
OKLCHoklch(24.34% 0.081 312.7)
XYZxyz(2.0719, 1.2746, 4.2737)
Luminance0.0127 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D113B #1F3B11
analogous
#18113B #2D113B #3B1134
triadic
#2D113B #3B2D11 #113B2D
tetradic
#2D113B #3B1811 #1F3B11 #11343B
square
#2D113B #3B1811 #1F3B11 #11343B
split-complementary
#2D113B #343B11 #113B18
monochromatic
#120718 #120718 #2D113B #511F6B #752C9A

Accessibility & contrast

On white

16.73
#2D113B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.25
#2D113B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D113B
16.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D113B#FFFFFF#000000##FFFFFF
##2D113B1.0016.731.2516.73
#FFFFFF16.731.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#031C3C
Deuteranopia (green-blind)
#0E1E3A
Tritanopia (blue-blind)
#2C1924
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #2d113b;
/* rgb */ color: rgb(45, 17, 59);
/* oklch */ color: oklch(24.3% 0.081 312.7);
Tailwind
colors: {
  custom: {
    50: '#685171',
    500: '#2d113b',
    950: '#000000',
  },
}
SCSS
$custom: #2d113b;
$custom-light: #685171;
$custom-dark: #000000;
JSON
{
  "hex": "#2d113b",
  "rgb": {
    "r": 45,
    "g": 17,
    "b": 59
  },
  "hsl": {
    "h": 280,
    "s": 55.263,
    "l": 14.902
  },
  "oklch": {
    "l": 0.24343,
    "c": 0.08124,
    "h": 312.7
  },
  "luminance": 0.01275
}

Semantic roles & 50–950 ramp

primary
#2D113B
secondary
#497433
accent
#DF497B
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#060207
muted
#7A787A

Preview Lab

Preview with #2D113B

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

Preview Lab → · Contrast checker → · Palette generator →

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