#2D103E#2D103E

#2D103E is a very dark, moderate violet. Relative luminance 0.013; OKLCH L 24.4% C 0.087 H 310.5°. Best body text is #FFFFFF at 16.73:1 contrast (WCAG AA passes).

Color values

HEX#2D103E
RGBrgb(45, 16, 62)
HSLhsl(278, 59%, 15%)
HSVhsv(278, 74%, 24%)
CMYKcmyk(27.4%, 74.2%, 0%, 75.7%)
CIE-LABlab(11.11, 24.27, -23.37)
CIE-LCHlch(11.11, 33.69, 316.08°)
OKLaboklab(24.43% 0.0564 -0.0659)
OKLCHoklch(24.43% 0.087 310.5)
XYZxyz(2.1368, 1.2763, 4.6903)
Luminance0.0128 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D103E #213E10
analogous
#16103E #2D103E #3E1038
triadic
#2D103E #3E2D10 #103E2D
tetradic
#2D103E #3E1610 #213E10 #10383E
square
#2D103E #3E1610 #213E10 #10383E
split-complementary
#2D103E #383E10 #103E16
monochromatic
#120618 #120618 #2D103E #501D6F #74299F

Accessibility & contrast

On white

16.73
#2D103E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D103E
16.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D103E#FFFFFF#000000##FFFFFF
##2D103E1.0016.731.2616.73
#FFFFFF16.731.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001C3F
Deuteranopia (green-blind)
#0A1E3D
Tritanopia (blue-blind)
#2B1925
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #2d103e;
/* rgb */ color: rgb(45, 16, 62);
/* oklch */ color: oklch(24.4% 0.087 310.5);
Tailwind
colors: {
  custom: {
    50: '#685073',
    500: '#2d103e',
    950: '#000000',
  },
}
SCSS
$custom: #2d103e;
$custom-light: #685073;
$custom-dark: #000000;
JSON
{
  "hex": "#2d103e",
  "rgb": {
    "r": 45,
    "g": 16,
    "b": 62
  },
  "hsl": {
    "h": 277.826,
    "s": 58.974,
    "l": 15.294
  },
  "oklch": {
    "l": 0.24425,
    "c": 0.08678,
    "h": 310.5
  },
  "luminance": 0.01276
}

Semantic roles & 50–950 ramp

primary
#2D103E
secondary
#4C7832
accent
#E2467F
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060208
muted
#7A787B

Preview Lab

Preview with #2D103E

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

Preview Lab → · Contrast checker → · Palette generator →

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