#2D133E#2D133E

#2D133E is a very dark, moderate violet. Relative luminance 0.014; OKLCH L 24.9% C 0.082 H 309.6°. Best body text is #FFFFFF at 16.48:1 contrast (WCAG AA passes).

Color values

HEX#2D133E
RGBrgb(45, 19, 62)
HSLhsl(276, 53%, 16%)
HSVhsv(276, 69%, 24%)
CMYKcmyk(27.4%, 69.4%, 0%, 75.7%)
CIE-LABlab(11.77, 22.47, -22.31)
CIE-LCHlch(11.77, 31.67, 315.20°)
OKLaboklab(24.9% 0.052 -0.0629)
OKLCHoklch(24.9% 0.082 309.6)
XYZxyz(2.1844, 1.3715, 4.7061)
Luminance0.0137 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D133E #243E13
analogous
#17133E #2D133E #3E1339
triadic
#2D133E #3E2D13 #133E2D
tetradic
#2D133E #3E1713 #243E13 #13393E
square
#2D133E #3E1713 #243E13 #13393E
split-complementary
#2D133E #393E13 #133E17
monochromatic
#110717 #110717 #2D133E #4F216D #71309C

Accessibility & contrast

On white

16.48
#2D133E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D133E
16.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D133E#FFFFFF#000000##FFFFFF
##2D133E1.0016.481.2716.48
#FFFFFF16.481.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#031E3F
Deuteranopia (green-blind)
#0E1F3D
Tritanopia (blue-blind)
#2B1B26
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #2d133e;
/* rgb */ color: rgb(45, 19, 62);
/* oklch */ color: oklch(24.9% 0.082 309.6);
Tailwind
colors: {
  custom: {
    50: '#685273',
    500: '#2d133e',
    950: '#000000',
  },
}
SCSS
$custom: #2d133e;
$custom-light: #685273;
$custom-dark: #000000;
JSON
{
  "hex": "#2d133e",
  "rgb": {
    "r": 45,
    "g": 19,
    "b": 62
  },
  "hsl": {
    "h": 276.279,
    "s": 53.086,
    "l": 15.882
  },
  "oklch": {
    "l": 0.24901,
    "c": 0.08159,
    "h": 309.6
  },
  "luminance": 0.01371
}

Semantic roles & 50–950 ramp

primary
#2D133E
secondary
#507736
accent
#DC4B85
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060208
muted
#7A787B

Preview Lab

Preview with #2D133E

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

Preview Lab → · Contrast checker → · Palette generator →

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