#2D103C#2D103C

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

Color values

HEX#2D103C
RGBrgb(45, 16, 60)
HSLhsl(280, 58%, 15%)
HSVhsv(280, 73%, 24%)
CMYKcmyk(25%, 73.3%, 0%, 76.5%)
CIE-LABlab(10.96, 23.73, -22.19)
CIE-LCHlch(10.96, 32.49, 316.92°)
OKLaboklab(24.27% 0.0565 -0.0625)
OKLCHoklch(24.27% 0.084 312.1)
XYZxyz(2.0829, 1.2548, 4.4066)
Luminance0.0126 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D103C #1F3C10
analogous
#17103C #2D103C #3C1035
triadic
#2D103C #3C2D10 #103C2D
tetradic
#2D103C #3C1710 #1F3C10 #10353C
square
#2D103C #3C1710 #1F3C10 #10353C
split-complementary
#2D103C #353C10 #103C17
monochromatic
#120618 #120618 #2D103C #511D6C #752A9D

Accessibility & contrast

On white

16.79
#2D103C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D103C
16.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D103C#FFFFFF#000000##FFFFFF
##2D103C1.0016.791.2516.79
#FFFFFF16.791.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#011C3D
Deuteranopia (green-blind)
#0C1E3B
Tritanopia (blue-blind)
#2B1924
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #2d103c;
/* rgb */ color: rgb(45, 16, 60);
/* oklch */ color: oklch(24.3% 0.084 312.1);
Tailwind
colors: {
  custom: {
    50: '#685072',
    500: '#2d103c',
    950: '#000000',
  },
}
SCSS
$custom: #2d103c;
$custom-light: #685072;
$custom-dark: #000000;
JSON
{
  "hex": "#2d103c",
  "rgb": {
    "r": 45,
    "g": 16,
    "b": 60
  },
  "hsl": {
    "h": 279.545,
    "s": 57.895,
    "l": 14.902
  },
  "oklch": {
    "l": 0.24265,
    "c": 0.08425,
    "h": 312.1
  },
  "luminance": 0.01255
}

Semantic roles & 50–950 ramp

primary
#2D103C
secondary
#497632
accent
#E1477B
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#060208
muted
#7A787B

Preview Lab

Preview with #2D103C

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

Preview Lab → · Contrast checker → · Palette generator →

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