#2D253B#2D253B

#2D253B is a dark, muted violet. Relative luminance 0.022; OKLCH L 28.4% C 0.041 H 300.5°. Best body text is #FFFFFF at 14.59:1 contrast (WCAG AA passes).

Color values

HEX#2D253B
RGBrgb(45, 37, 59)
HSLhsl(262, 23%, 19%)
HSVhsv(262, 37%, 23%)
CMYKcmyk(23.7%, 37.3%, 0%, 76.9%)
CIE-LABlab(16.49, 9.31, -12.76)
CIE-LCHlch(16.49, 15.80, 306.13°)
OKLaboklab(28.37% 0.0208 -0.0352)
OKLCHoklch(28.37% 0.041 300.5)
XYZxyz(2.5330, 2.1968, 4.4274)
Luminance0.0220 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D253B #333B25
analogous
#25283B #2D253B #38253B
triadic
#2D253B #3B2D25 #253B2D
tetradic
#2D253B #3B2528 #333B25 #253B38
square
#2D253B #3B2528 #333B25 #253B38
split-complementary
#2D253B #3B3825 #283B25
monochromatic
#0E0C13 #100D15 #2D253B #4A3D61 #665486

Accessibility & contrast

On white

14.59
#2D253B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#2D253B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D253B
14.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D253B#FFFFFF#000000##FFFFFF
##2D253B1.0014.591.4414.59
#FFFFFF14.591.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#20293C
Deuteranopia (green-blind)
#21293A
Tritanopia (blue-blind)
#2B282D
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #2d253b;
/* rgb */ color: rgb(45, 37, 59);
/* oklch */ color: oklch(28.4% 0.041 300.5);
Tailwind
colors: {
  custom: {
    50: '#665f71',
    500: '#2d253b',
    950: '#000000',
  },
}
SCSS
$custom: #2d253b;
$custom-light: #665f71;
$custom-dark: #000000;
JSON
{
  "hex": "#2d253b",
  "rgb": {
    "r": 45,
    "g": 37,
    "b": 59
  },
  "hsl": {
    "h": 261.818,
    "s": 22.917,
    "l": 18.824
  },
  "oklch": {
    "l": 0.28371,
    "c": 0.0409,
    "h": 300.5
  },
  "luminance": 0.02197
}

Semantic roles & 50–950 ramp

primary
#2D253B
secondary
#626D4F
accent
#BF68A0
background
#F6F5F6
surface
#EBE9EC
border
#C6C5C7
text
#060407
muted
#7A797A

Preview Lab

Preview with #2D253B

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

Preview Lab → · Contrast checker → · Palette generator →

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