#2D133D#2D133D

#2D133D is a very dark, moderate violet. Relative luminance 0.014; OKLCH L 24.8% C 0.080 H 310.4°. Best body text is #FFFFFF at 16.51:1 contrast (WCAG AA passes).

Color values

HEX#2D133D
RGBrgb(45, 19, 61)
HSLhsl(277, 53%, 16%)
HSVhsv(277, 69%, 24%)
CMYKcmyk(26.2%, 68.9%, 0%, 76.1%)
CIE-LABlab(11.69, 22.20, -21.72)
CIE-LCHlch(11.69, 31.06, 315.62°)
OKLaboklab(24.82% 0.052 -0.0611)
OKLCHoklch(24.82% 0.08 310.4)
XYZxyz(2.1572, 1.3606, 4.5630)
Luminance0.0136 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D133D #233D13
analogous
#18133D #2D133D #3D1338
triadic
#2D133D #3D2D13 #133D2D
tetradic
#2D133D #3D1813 #233D13 #13383D
square
#2D133D #3D1813 #233D13 #13383D
split-complementary
#2D133D #383D13 #133D18
monochromatic
#110717 #110717 #2D133D #4F226C #72309A

Accessibility & contrast

On white

16.51
#2D133D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D133D
16.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D133D#FFFFFF#000000##FFFFFF
##2D133D1.0016.511.2716.51
#FFFFFF16.511.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#041E3E
Deuteranopia (green-blind)
#0F1F3C
Tritanopia (blue-blind)
#2B1B25
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #2d133d;
/* rgb */ color: rgb(45, 19, 61);
/* oklch */ color: oklch(24.8% 0.080 310.4);
Tailwind
colors: {
  custom: {
    50: '#685273',
    500: '#2d133d',
    950: '#000000',
  },
}
SCSS
$custom: #2d133d;
$custom-light: #685273;
$custom-dark: #000000;
JSON
{
  "hex": "#2d133d",
  "rgb": {
    "r": 45,
    "g": 19,
    "b": 61
  },
  "hsl": {
    "h": 277.143,
    "s": 52.5,
    "l": 15.686
  },
  "oklch": {
    "l": 0.24824,
    "c": 0.08026,
    "h": 310.4
  },
  "luminance": 0.01361
}

Semantic roles & 50–950 ramp

primary
#2D133D
secondary
#4E7536
accent
#DC4C83
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#060208
muted
#7A787B

Preview Lab

Preview with #2D133D

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

Preview Lab → · Contrast checker → · Palette generator →

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