#2D133F#2D133F

#2D133F is a very dark, moderate violet. Relative luminance 0.014; OKLCH L 25.0% C 0.083 H 308.8°. Best body text is #FFFFFF at 16.45:1 contrast (WCAG AA passes).

Color values

HEX#2D133F
RGBrgb(45, 19, 63)
HSLhsl(275, 54%, 16%)
HSVhsv(275, 70%, 25%)
CMYKcmyk(28.6%, 69.8%, 0%, 75.3%)
CIE-LABlab(11.84, 22.75, -22.90)
CIE-LCHlch(11.84, 32.28, 314.81°)
OKLaboklab(24.98% 0.052 -0.0646)
OKLCHoklch(24.98% 0.083 308.8)
XYZxyz(2.2121, 1.3826, 4.8520)
Luminance0.0138 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D133F #253F13
analogous
#17133F #2D133F #3F133B
triadic
#2D133F #3F2D13 #133F2D
tetradic
#2D133F #3F1713 #253F13 #133B3F
square
#2D133F #3F1713 #253F13 #133B3F
split-complementary
#2D133F #3B3F13 #133F17
monochromatic
#110718 #110718 #2D133F #4F216E #702F9D

Accessibility & contrast

On white

16.45
#2D133F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.28
#2D133F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D133F
16.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D133F#FFFFFF#000000##FFFFFF
##2D133F1.0016.451.2816.45
#FFFFFF16.451.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#021E40
Deuteranopia (green-blind)
#0D203E
Tritanopia (blue-blind)
#2A1C26
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #2d133f;
/* rgb */ color: rgb(45, 19, 63);
/* oklch */ color: oklch(25.0% 0.083 308.8);
Tailwind
colors: {
  custom: {
    50: '#685274',
    500: '#2d133f',
    950: '#000000',
  },
}
SCSS
$custom: #2d133f;
$custom-light: #685274;
$custom-dark: #000000;
JSON
{
  "hex": "#2d133f",
  "rgb": {
    "r": 45,
    "g": 19,
    "b": 63
  },
  "hsl": {
    "h": 275.455,
    "s": 53.659,
    "l": 16.078
  },
  "oklch": {
    "l": 0.24979,
    "c": 0.08291,
    "h": 308.8
  },
  "luminance": 0.01383
}

Semantic roles & 50–950 ramp

primary
#2D133F
secondary
#517836
accent
#DD4B87
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060208
muted
#7A787B

Preview Lab

Preview with #2D133F

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

Preview Lab → · Contrast checker → · Palette generator →

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