#2D133B#2D133B

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

Color values

HEX#2D133B
RGBrgb(45, 19, 59)
HSLhsl(279, 51%, 15%)
HSVhsv(279, 68%, 23%)
CMYKcmyk(23.7%, 67.8%, 0%, 76.9%)
CIE-LABlab(11.55, 21.65, -20.53)
CIE-LCHlch(11.55, 29.84, 316.53°)
OKLaboklab(24.67% 0.052 -0.0576)
OKLCHoklch(24.67% 0.078 312.1)
XYZxyz(2.1043, 1.3395, 4.2845)
Luminance0.0134 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D133B #213B13
analogous
#19133B #2D133B #3B1335
triadic
#2D133B #3B2D13 #133B2D
tetradic
#2D133B #3B1913 #213B13 #13353B
square
#2D133B #3B1913 #213B13 #13353B
split-complementary
#2D133B #353B13 #133B19
monochromatic
#120717 #120717 #2D133B #502269 #743198

Accessibility & contrast

On white

16.56
#2D133B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D133B
16.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D133B#FFFFFF#000000##FFFFFF
##2D133B1.0016.561.2716.56
#FFFFFF16.561.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#061D3C
Deuteranopia (green-blind)
#101F3A
Tritanopia (blue-blind)
#2B1A24
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #2d133b;
/* rgb */ color: rgb(45, 19, 59);
/* oklch */ color: oklch(24.7% 0.078 312.1);
Tailwind
colors: {
  custom: {
    50: '#675271',
    500: '#2d133b',
    950: '#000000',
  },
}
SCSS
$custom: #2d133b;
$custom-light: #675271;
$custom-dark: #000000;
JSON
{
  "hex": "#2d133b",
  "rgb": {
    "r": 45,
    "g": 19,
    "b": 59
  },
  "hsl": {
    "h": 279,
    "s": 51.282,
    "l": 15.294
  },
  "oklch": {
    "l": 0.24672,
    "c": 0.07762,
    "h": 312.1
  },
  "luminance": 0.01339
}

Semantic roles & 50–950 ramp

primary
#2D133B
secondary
#4C7336
accent
#DB4D7F
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#060207
muted
#7A787A

Preview Lab

Preview with #2D133B

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

Preview Lab → · Contrast checker → · Palette generator →

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