#2D1043#2D1043

#2D1043 is a very dark, moderate violet. Relative luminance 0.013; OKLCH L 24.8% C 0.093 H 306.9°. Best body text is #FFFFFF at 16.58:1 contrast (WCAG AA passes).

Color values

HEX#2D1043
RGBrgb(45, 16, 67)
HSLhsl(274, 61%, 16%)
HSVhsv(274, 76%, 26%)
CMYKcmyk(32.8%, 76.1%, 0%, 73.7%)
CIE-LABlab(11.51, 25.64, -26.26)
CIE-LCHlch(11.51, 36.70, 314.31°)
OKLaboklab(24.84% 0.0559 -0.0744)
OKLCHoklch(24.84% 0.093 306.9)
XYZxyz(2.2804, 1.3337, 5.4464)
Luminance0.0133 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D1043 #264310
analogous
#141043 #2D1043 #431040
triadic
#2D1043 #432D10 #10432D
tetradic
#2D1043 #431410 #264310 #104043
square
#2D1043 #431410 #264310 #104043
split-complementary
#2D1043 #404310 #104314
monochromatic
#110619 #110619 #2D1043 #4E1C74 #6F28A6

Accessibility & contrast

On white

16.58
#2D1043 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.27
#2D1043 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D1043
16.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D1043#FFFFFF#000000##FFFFFF
##2D10431.0016.581.2716.58
#FFFFFF16.581.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E45
Deuteranopia (green-blind)
#041F42
Tritanopia (blue-blind)
#291B28
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #2d1043;
/* rgb */ color: rgb(45, 16, 67);
/* oklch */ color: oklch(24.8% 0.093 306.9);
Tailwind
colors: {
  custom: {
    50: '#685077',
    500: '#2d1043',
    950: '#000000',
  },
}
SCSS
$custom: #2d1043;
$custom-light: #685077;
$custom-dark: #000000;
JSON
{
  "hex": "#2d1043",
  "rgb": {
    "r": 45,
    "g": 16,
    "b": 67
  },
  "hsl": {
    "h": 274.118,
    "s": 61.446,
    "l": 16.275
  },
  "oklch": {
    "l": 0.2484,
    "c": 0.09308,
    "h": 306.9
  },
  "luminance": 0.01334
}

Semantic roles & 50–950 ramp

primary
#2D1043
secondary
#527D32
accent
#E54389
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060209
muted
#7A787B

Preview Lab

Preview with #2D1043

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

Preview Lab → · Contrast checker → · Palette generator →

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