#2D1083#2D1083

#2D1083 is a dark, vivid violet. Relative luminance 0.026; OKLCH L 31.5% C 0.170 H 282.0°. Best body text is #FFFFFF at 13.88:1 contrast (WCAG AA passes).

Color values

HEX#2D1083
RGBrgb(45, 16, 131)
HSLhsl(255, 78%, 29%)
HSVhsv(255, 88%, 51%)
CMYKcmyk(65.6%, 87.8%, 0%, 48.6%)
CIE-LABlab(18.22, 44.28, -57.79)
CIE-LCHlch(18.22, 72.81, 307.46°)
OKLaboklab(31.54% 0.0355 -0.1667)
OKLCHoklch(31.54% 0.17 282)
XYZxyz(5.3629, 2.5668, 21.6812)
Luminance0.0257 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D1083 #668310
analogous
#102D83 #2D1083 #671083
triadic
#2D1083 #832D10 #10832D
tetradic
#2D1083 #83102D #668310 #108367
square
#2D1083 #83102D #668310 #108367
split-complementary
#2D1083 #836710 #2D8310
monochromatic
#09031B #1A094C #2D1083 #4017BA #5829E5

Accessibility & contrast

On white

13.88
#2D1083 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#2D1083 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D1083
13.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D1083#FFFFFF#000000##FFFFFF
##2D10831.0013.881.5113.88
#FFFFFF13.881.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003086
Deuteranopia (green-blind)
#002881
Tritanopia (blue-blind)
#00364C
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #2d1083;
/* rgb */ color: rgb(45, 16, 131);
/* oklch */ color: oklch(31.5% 0.170 282.0);
Tailwind
colors: {
  custom: {
    50: '#7355a8',
    500: '#2d1083',
    950: '#000000',
  },
}
SCSS
$custom: #2d1083;
$custom-light: #7355a8;
$custom-dark: #000000;
JSON
{
  "hex": "#2d1083",
  "rgb": {
    "r": 45,
    "g": 16,
    "b": 131
  },
  "hsl": {
    "h": 255.13,
    "s": 78.231,
    "l": 28.824
  },
  "oklch": {
    "l": 0.31535,
    "c": 0.17046,
    "h": 282
  },
  "luminance": 0.02567
}

Semantic roles & 50–950 ramp

primary
#2D1083
secondary
#98B936
accent
#F533C4
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#090310
muted
#7B787F

Preview Lab

Preview with #2D1083

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

Preview Lab → · Contrast checker → · Palette generator →

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