#2D113E#2D113E

#2D113E is a very dark, moderate violet. Relative luminance 0.013; OKLCH L 24.6% C 0.085 H 310.2°. Best body text is #FFFFFF at 16.65:1 contrast (WCAG AA passes).

Color values

HEX#2D113E
RGBrgb(45, 17, 62)
HSLhsl(277, 57%, 15%)
HSVhsv(277, 73%, 24%)
CMYKcmyk(27.4%, 72.6%, 0%, 75.7%)
CIE-LABlab(11.32, 23.69, -23.03)
CIE-LCHlch(11.32, 33.03, 315.81°)
OKLaboklab(24.58% 0.055 -0.0649)
OKLCHoklch(24.58% 0.085 310.2)
XYZxyz(2.1520, 1.3066, 4.6953)
Luminance0.0131 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D113E #223E11
analogous
#16113E #2D113E #3E1138
triadic
#2D113E #3E2D11 #113E2D
tetradic
#2D113E #3E1611 #223E11 #11383E
square
#2D113E #3E1611 #223E11 #11383E
split-complementary
#2D113E #383E11 #113E16
monochromatic
#110718 #110718 #2D113E #501E6E #732B9E

Accessibility & contrast

On white

16.65
#2D113E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D113E
16.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D113E#FFFFFF#000000##FFFFFF
##2D113E1.0016.651.2616.65
#FFFFFF16.651.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001D3F
Deuteranopia (green-blind)
#0B1F3D
Tritanopia (blue-blind)
#2B1A25
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #2d113e;
/* rgb */ color: rgb(45, 17, 62);
/* oklch */ color: oklch(24.6% 0.085 310.2);
Tailwind
colors: {
  custom: {
    50: '#685173',
    500: '#2d113e',
    950: '#000000',
  },
}
SCSS
$custom: #2d113e;
$custom-light: #685173;
$custom-dark: #000000;
JSON
{
  "hex": "#2d113e",
  "rgb": {
    "r": 45,
    "g": 17,
    "b": 62
  },
  "hsl": {
    "h": 277.333,
    "s": 56.962,
    "l": 15.49
  },
  "oklch": {
    "l": 0.24578,
    "c": 0.08508,
    "h": 310.2
  },
  "luminance": 0.01307
}

Semantic roles & 50–950 ramp

primary
#2D113E
secondary
#4D7733
accent
#E04881
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060208
muted
#7A787B

Preview Lab

Preview with #2D113E

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

Preview Lab → · Contrast checker → · Palette generator →

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