#2D153D#2D153D

#2D153D is a dark, moderate violet. Relative luminance 0.014; OKLCH L 25.2% C 0.077 H 309.7°. Best body text is #FFFFFF at 16.33:1 contrast (WCAG AA passes).

Color values

HEX#2D153D
RGBrgb(45, 21, 61)
HSLhsl(276, 49%, 16%)
HSVhsv(276, 66%, 24%)
CMYKcmyk(26.2%, 65.6%, 0%, 76.1%)
CIE-LABlab(12.16, 20.94, -20.97)
CIE-LCHlch(12.16, 29.63, 314.95°)
OKLaboklab(25.17% 0.0489 -0.0589)
OKLCHoklch(25.17% 0.077 309.7)
XYZxyz(2.1925, 1.4312, 4.5747)
Luminance0.0143 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D153D #253D15
analogous
#19153D #2D153D #3D1539
triadic
#2D153D #3D2D15 #153D2D
tetradic
#2D153D #3D1915 #253D15 #15393D
square
#2D153D #3D1915 #253D15 #15393D
split-complementary
#2D153D #393D15 #153D19
monochromatic
#110817 #110817 #2D153D #4F256B #703498

Accessibility & contrast

On white

16.33
#2D153D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.29
#2D153D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D153D
16.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D153D#FFFFFF#000000##FFFFFF
##2D153D1.0016.331.2916.33
#FFFFFF16.331.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#081F3E
Deuteranopia (green-blind)
#11203C
Tritanopia (blue-blind)
#2B1C26
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #2d153d;
/* rgb */ color: rgb(45, 21, 61);
/* oklch */ color: oklch(25.2% 0.077 309.7);
Tailwind
colors: {
  custom: {
    50: '#675373',
    500: '#2d153d',
    950: '#000000',
  },
}
SCSS
$custom: #2d153d;
$custom-light: #675373;
$custom-dark: #000000;
JSON
{
  "hex": "#2d153d",
  "rgb": {
    "r": 45,
    "g": 21,
    "b": 61
  },
  "hsl": {
    "h": 276,
    "s": 48.78,
    "l": 16.078
  },
  "oklch": {
    "l": 0.25167,
    "c": 0.07658,
    "h": 309.7
  },
  "luminance": 0.01431
}

Semantic roles & 50–950 ramp

primary
#2D153D
secondary
#517539
accent
#D84F86
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#060208
muted
#7A787B

Preview Lab

Preview with #2D153D

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

Preview Lab → · Contrast checker → · Palette generator →

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