#2D113C#2D113C

#2D113C is a very dark, moderate violet. Relative luminance 0.013; OKLCH L 24.4% C 0.083 H 311.8°. Best body text is #FFFFFF at 16.71:1 contrast (WCAG AA passes).

Color values

HEX#2D113C
RGBrgb(45, 17, 60)
HSLhsl(279, 56%, 15%)
HSVhsv(279, 72%, 24%)
CMYKcmyk(25%, 71.7%, 0%, 76.5%)
CIE-LABlab(11.17, 23.14, -21.85)
CIE-LCHlch(11.17, 31.83, 316.65°)
OKLaboklab(24.42% 0.0551 -0.0615)
OKLCHoklch(24.42% 0.083 311.8)
XYZxyz(2.0981, 1.2851, 4.4116)
Luminance0.0129 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D113C #203C11
analogous
#18113C #2D113C #3C1135
triadic
#2D113C #3C2D11 #113C2D
tetradic
#2D113C #3C1811 #203C11 #11353C
square
#2D113C #3C1811 #203C11 #11353C
split-complementary
#2D113C #353C11 #113C18
monochromatic
#120718 #120718 #2D113C #511F6C #752C9B

Accessibility & contrast

On white

16.71
#2D113C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D113C
16.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D113C#FFFFFF#000000##FFFFFF
##2D113C1.0016.711.2616.71
#FFFFFF16.711.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#021C3D
Deuteranopia (green-blind)
#0D1E3B
Tritanopia (blue-blind)
#2B1924
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #2d113c;
/* rgb */ color: rgb(45, 17, 60);
/* oklch */ color: oklch(24.4% 0.083 311.8);
Tailwind
colors: {
  custom: {
    50: '#685172',
    500: '#2d113c',
    950: '#000000',
  },
}
SCSS
$custom: #2d113c;
$custom-light: #685172;
$custom-dark: #000000;
JSON
{
  "hex": "#2d113c",
  "rgb": {
    "r": 45,
    "g": 17,
    "b": 60
  },
  "hsl": {
    "h": 279.07,
    "s": 55.844,
    "l": 15.098
  },
  "oklch": {
    "l": 0.24421,
    "c": 0.08252,
    "h": 311.8
  },
  "luminance": 0.01285
}

Semantic roles & 50–950 ramp

primary
#2D113C
secondary
#4A7533
accent
#DF497D
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#060208
muted
#7A787B

Preview Lab

Preview with #2D113C

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

Preview Lab → · Contrast checker → · Palette generator →

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