#2D113D#2D113D

#2D113D is a very dark, moderate violet. Relative luminance 0.013; OKLCH L 24.5% C 0.084 H 311.0°. Best body text is #FFFFFF at 16.68:1 contrast (WCAG AA passes).

Color values

HEX#2D113D
RGBrgb(45, 17, 61)
HSLhsl(278, 56%, 15%)
HSVhsv(278, 72%, 24%)
CMYKcmyk(26.2%, 72.1%, 0%, 76.1%)
CIE-LABlab(11.25, 23.41, -22.44)
CIE-LCHlch(11.25, 32.43, 316.22°)
OKLaboklab(24.5% 0.055 -0.0632)
OKLCHoklch(24.5% 0.084 311)
XYZxyz(2.1248, 1.2958, 4.5521)
Luminance0.0130 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D113D #213D11
analogous
#17113D #2D113D #3D1137
triadic
#2D113D #3D2D11 #113D2D
tetradic
#2D113D #3D1711 #213D11 #11373D
square
#2D113D #3D1711 #213D11 #11373D
split-complementary
#2D113D #373D11 #113D17
monochromatic
#120718 #120718 #2D113D #501E6D #742C9D

Accessibility & contrast

On white

16.68
#2D113D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.26
#2D113D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D113D
16.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D113D#FFFFFF#000000##FFFFFF
##2D113D1.0016.681.2616.68
#FFFFFF16.681.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#011D3E
Deuteranopia (green-blind)
#0C1E3C
Tritanopia (blue-blind)
#2B1A25
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #2d113d;
/* rgb */ color: rgb(45, 17, 61);
/* oklch */ color: oklch(24.5% 0.084 311.0);
Tailwind
colors: {
  custom: {
    50: '#685173',
    500: '#2d113d',
    950: '#000000',
  },
}
SCSS
$custom: #2d113d;
$custom-light: #685173;
$custom-dark: #000000;
JSON
{
  "hex": "#2d113d",
  "rgb": {
    "r": 45,
    "g": 17,
    "b": 61
  },
  "hsl": {
    "h": 278.182,
    "s": 56.41,
    "l": 15.294
  },
  "oklch": {
    "l": 0.24499,
    "c": 0.0838,
    "h": 311
  },
  "luminance": 0.01296
}

Semantic roles & 50–950 ramp

primary
#2D113D
secondary
#4C7633
accent
#E0487F
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060208
muted
#7A787B

Preview Lab

Preview with #2D113D

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

Preview Lab → · Contrast checker → · Palette generator →

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