#2D103D#2D103D

#2D103D is a very dark, moderate violet. Relative luminance 0.013; OKLCH L 24.3% C 0.086 H 311.3°. Best body text is #FFFFFF at 16.76:1 contrast (WCAG AA passes).

Color values

HEX#2D103D
RGBrgb(45, 16, 61)
HSLhsl(279, 58%, 15%)
HSVhsv(279, 74%, 24%)
CMYKcmyk(26.2%, 73.8%, 0%, 76.1%)
CIE-LABlab(11.03, 24.00, -22.78)
CIE-LCHlch(11.03, 33.09, 316.49°)
OKLaboklab(24.34% 0.0565 -0.0642)
OKLCHoklch(24.34% 0.086 311.3)
XYZxyz(2.1096, 1.2654, 4.5471)
Luminance0.0126 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D103D #203D10
analogous
#17103D #2D103D #3D1036
triadic
#2D103D #3D2D10 #103D2D
tetradic
#2D103D #3D1710 #203D10 #10363D
square
#2D103D #3D1710 #203D10 #10363D
split-complementary
#2D103D #363D10 #103D17
monochromatic
#120618 #120618 #2D103D #511D6D #75299E

Accessibility & contrast

On white

16.76
#2D103D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D103D
16.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D103D#FFFFFF#000000##FFFFFF
##2D103D1.0016.761.2516.76
#FFFFFF16.761.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001C3E
Deuteranopia (green-blind)
#0B1E3C
Tritanopia (blue-blind)
#2B1924
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #2d103d;
/* rgb */ color: rgb(45, 16, 61);
/* oklch */ color: oklch(24.3% 0.086 311.3);
Tailwind
colors: {
  custom: {
    50: '#685073',
    500: '#2d103d',
    950: '#000000',
  },
}
SCSS
$custom: #2d103d;
$custom-light: #685073;
$custom-dark: #000000;
JSON
{
  "hex": "#2d103d",
  "rgb": {
    "r": 45,
    "g": 16,
    "b": 61
  },
  "hsl": {
    "h": 278.667,
    "s": 58.442,
    "l": 15.098
  },
  "oklch": {
    "l": 0.24344,
    "c": 0.08551,
    "h": 311.3
  },
  "luminance": 0.01265
}

Semantic roles & 50–950 ramp

primary
#2D103D
secondary
#4A7732
accent
#E2467D
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060208
muted
#7A787B

Preview Lab

Preview with #2D103D

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

Preview Lab → · Contrast checker → · Palette generator →

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