#2D103A#2D103A

#2D103A is a very dark, moderate purple. Relative luminance 0.012; OKLCH L 24.1% C 0.082 H 313.8°. Best body text is #FFFFFF at 16.84:1 contrast (WCAG AA passes).

Color values

HEX#2D103A
RGBrgb(45, 16, 58)
HSLhsl(281, 57%, 15%)
HSVhsv(281, 72%, 23%)
CMYKcmyk(22.4%, 72.4%, 0%, 77.3%)
CIE-LABlab(10.81, 23.21, -21.00)
CIE-LCHlch(10.81, 31.30, 317.86°)
OKLaboklab(24.11% 0.0566 -0.059)
OKLCHoklch(24.11% 0.082 313.8)
XYZxyz(2.0311, 1.2340, 4.1334)
Luminance0.0123 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D103A #1D3A10
analogous
#18103A #2D103A #3A1032
triadic
#2D103A #3A2D10 #103A2D
tetradic
#2D103A #3A1810 #1D3A10 #10323A
square
#2D103A #3A1810 #1D3A10 #10323A
split-complementary
#2D103A #323A10 #103A18
monochromatic
#130718 #130718 #2D103A #521D6A #772A9A

Accessibility & contrast

On white

16.84
#2D103A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D103A
16.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D103A#FFFFFF#000000##FFFFFF
##2D103A1.0016.841.2516.84
#FFFFFF16.841.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#031B3B
Deuteranopia (green-blind)
#0E1E39
Tritanopia (blue-blind)
#2C1823
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #2d103a;
/* rgb */ color: rgb(45, 16, 58);
/* oklch */ color: oklch(24.1% 0.082 313.8);
Tailwind
colors: {
  custom: {
    50: '#685070',
    500: '#2d103a',
    950: '#000000',
  },
}
SCSS
$custom: #2d103a;
$custom-light: #685070;
$custom-dark: #000000;
JSON
{
  "hex": "#2d103a",
  "rgb": {
    "r": 45,
    "g": 16,
    "b": 58
  },
  "hsl": {
    "h": 281.429,
    "s": 56.757,
    "l": 14.51
  },
  "oklch": {
    "l": 0.24109,
    "c": 0.08175,
    "h": 313.8
  },
  "luminance": 0.01234
}

Semantic roles & 50–950 ramp

primary
#2D103A
secondary
#467432
accent
#E04877
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#060207
muted
#7A787A

Preview Lab

Preview with #2D103A

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

Preview Lab → · Contrast checker → · Palette generator →

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