#2D133C#2D133C

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

Color values

HEX#2D133C
RGBrgb(45, 19, 60)
HSLhsl(278, 52%, 15%)
HSVhsv(278, 68%, 24%)
CMYKcmyk(25%, 68.3%, 0%, 76.5%)
CIE-LABlab(11.62, 21.93, -21.13)
CIE-LCHlch(11.62, 30.45, 316.06°)
OKLaboklab(24.75% 0.052 -0.0594)
OKLCHoklch(24.75% 0.079 311.2)
XYZxyz(2.1305, 1.3499, 4.4224)
Luminance0.0135 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D133C #223C13
analogous
#18133C #2D133C #3C1336
triadic
#2D133C #3C2D13 #133C2D
tetradic
#2D133C #3C1813 #223C13 #13363C
square
#2D133C #3C1813 #223C13 #13363C
split-complementary
#2D133C #363C13 #133C18
monochromatic
#110717 #110717 #2D133C #50226A #733099

Accessibility & contrast

On white

16.54
#2D133C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D133C
16.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D133C#FFFFFF#000000##FFFFFF
##2D133C1.0016.541.2716.54
#FFFFFF16.541.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#051D3D
Deuteranopia (green-blind)
#0F1F3B
Tritanopia (blue-blind)
#2B1B25
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #2d133c;
/* rgb */ color: rgb(45, 19, 60);
/* oklch */ color: oklch(24.7% 0.079 311.2);
Tailwind
colors: {
  custom: {
    50: '#675272',
    500: '#2d133c',
    950: '#000000',
  },
}
SCSS
$custom: #2d133c;
$custom-light: #675272;
$custom-dark: #000000;
JSON
{
  "hex": "#2d133c",
  "rgb": {
    "r": 45,
    "g": 19,
    "b": 60
  },
  "hsl": {
    "h": 278.049,
    "s": 51.899,
    "l": 15.49
  },
  "oklch": {
    "l": 0.24747,
    "c": 0.07894,
    "h": 311.2
  },
  "luminance": 0.0135
}

Semantic roles & 50–950 ramp

primary
#2D133C
secondary
#4D7436
accent
#DB4C81
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#060208
muted
#7A787B

Preview Lab

Preview with #2D133C

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

Preview Lab → · Contrast checker → · Palette generator →

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