#2D103F#2D103F

#2D103F is a very dark, moderate violet. Relative luminance 0.013; OKLCH L 24.5% C 0.088 H 309.8°. Best body text is #FFFFFF at 16.70:1 contrast (WCAG AA passes).

Color values

HEX#2D103F
RGBrgb(45, 16, 63)
HSLhsl(277, 59%, 15%)
HSVhsv(277, 75%, 25%)
CMYKcmyk(28.6%, 74.6%, 0%, 75.3%)
CIE-LABlab(11.19, 24.54, -23.95)
CIE-LCHlch(11.19, 34.29, 315.69°)
OKLaboklab(24.51% 0.0563 -0.0676)
OKLCHoklch(24.51% 0.088 309.8)
XYZxyz(2.1645, 1.2874, 4.8361)
Luminance0.0129 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D103F #223F10
analogous
#15103F #2D103F #3F1039
triadic
#2D103F #3F2D10 #103F2D
tetradic
#2D103F #3F1510 #223F10 #10393F
square
#2D103F #3F1510 #223F10 #10393F
split-complementary
#2D103F #393F10 #103F15
monochromatic
#110618 #110618 #2D103F #501C70 #7329A1

Accessibility & contrast

On white

16.70
#2D103F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D103F
16.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D103F#FFFFFF#000000##FFFFFF
##2D103F1.0016.701.2616.70
#FFFFFF16.701.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001D40
Deuteranopia (green-blind)
#091E3E
Tritanopia (blue-blind)
#2B1A25
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #2d103f;
/* rgb */ color: rgb(45, 16, 63);
/* oklch */ color: oklch(24.5% 0.088 309.8);
Tailwind
colors: {
  custom: {
    50: '#685074',
    500: '#2d103f',
    950: '#000000',
  },
}
SCSS
$custom: #2d103f;
$custom-light: #685074;
$custom-dark: #000000;
JSON
{
  "hex": "#2d103f",
  "rgb": {
    "r": 45,
    "g": 16,
    "b": 63
  },
  "hsl": {
    "h": 277.021,
    "s": 59.494,
    "l": 15.49
  },
  "oklch": {
    "l": 0.24506,
    "c": 0.08803,
    "h": 309.8
  },
  "luminance": 0.01287
}

Semantic roles & 50–950 ramp

primary
#2D103F
secondary
#4D7932
accent
#E34581
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060208
muted
#7A787B

Preview Lab

Preview with #2D103F

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

Preview Lab → · Contrast checker → · Palette generator →

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