#2D103B#2D103B

#2D103B is a very dark, moderate purple. Relative luminance 0.012; OKLCH L 24.2% C 0.083 H 313.0°. Best body text is #FFFFFF at 16.82:1 contrast (WCAG AA passes).

Color values

HEX#2D103B
RGBrgb(45, 16, 59)
HSLhsl(280, 57%, 15%)
HSVhsv(280, 73%, 23%)
CMYKcmyk(23.7%, 72.9%, 0%, 76.9%)
CIE-LABlab(10.88, 23.47, -21.60)
CIE-LCHlch(10.88, 31.89, 317.38°)
OKLaboklab(24.19% 0.0566 -0.0607)
OKLCHoklch(24.19% 0.083 313)
XYZxyz(2.0568, 1.2443, 4.2687)
Luminance0.0124 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D103B #1E3B10
analogous
#18103B #2D103B #3B1034
triadic
#2D103B #3B2D10 #103B2D
tetradic
#2D103B #3B1810 #1E3B10 #10343B
square
#2D103B #3B1810 #1E3B10 #10343B
split-complementary
#2D103B #343B10 #103B18
monochromatic
#120718 #120718 #2D103B #521D6B #762A9B

Accessibility & contrast

On white

16.82
#2D103B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D103B
16.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D103B#FFFFFF#000000##FFFFFF
##2D103B1.0016.821.2516.82
#FFFFFF16.821.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#021C3C
Deuteranopia (green-blind)
#0D1E3A
Tritanopia (blue-blind)
#2C1823
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #2d103b;
/* rgb */ color: rgb(45, 16, 59);
/* oklch */ color: oklch(24.2% 0.083 313.0);
Tailwind
colors: {
  custom: {
    50: '#685071',
    500: '#2d103b',
    950: '#000000',
  },
}
SCSS
$custom: #2d103b;
$custom-light: #685071;
$custom-dark: #000000;
JSON
{
  "hex": "#2d103b",
  "rgb": {
    "r": 45,
    "g": 16,
    "b": 59
  },
  "hsl": {
    "h": 280.465,
    "s": 57.333,
    "l": 14.706
  },
  "oklch": {
    "l": 0.24186,
    "c": 0.083,
    "h": 313
  },
  "luminance": 0.01244
}

Semantic roles & 50–950 ramp

primary
#2D103B
secondary
#487532
accent
#E14779
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#060207
muted
#7A787A

Preview Lab

Preview with #2D103B

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

Preview Lab → · Contrast checker → · Palette generator →

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