#2D253A#2D253A

#2D253A is a dark, muted violet. Relative luminance 0.022; OKLCH L 28.3% C 0.039 H 301.4°. Best body text is #FFFFFF at 14.61:1 contrast (WCAG AA passes).

Color values

HEX#2D253A
RGBrgb(45, 37, 58)
HSLhsl(263, 22%, 19%)
HSVhsv(263, 36%, 23%)
CMYKcmyk(22.4%, 36.2%, 0%, 77.3%)
CIE-LABlab(16.44, 9.03, -12.14)
CIE-LCHlch(16.44, 15.13, 306.63°)
OKLaboklab(28.32% 0.0205 -0.0335)
OKLCHoklch(28.32% 0.039 301.4)
XYZxyz(2.5073, 2.1865, 4.2921)
Luminance0.0219 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D253A #323A25
analogous
#25273A #2D253A #37253A
triadic
#2D253A #3A2D25 #253A2D
tetradic
#2D253A #3A2527 #323A25 #253A37
square
#2D253A #3A2527 #323A25 #253A37
split-complementary
#2D253A #3A3725 #273A25
monochromatic
#0E0C13 #100D15 #2D253A #4A3D5F #675585

Accessibility & contrast

On white

14.61
#2D253A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D253A
14.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D253A#FFFFFF#000000##FFFFFF
##2D253A1.0014.611.4414.61
#FFFFFF14.611.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#20293B
Deuteranopia (green-blind)
#222939
Tritanopia (blue-blind)
#2B282D
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #2d253a;
/* rgb */ color: rgb(45, 37, 58);
/* oklch */ color: oklch(28.3% 0.039 301.4);
Tailwind
colors: {
  custom: {
    50: '#665f70',
    500: '#2d253a',
    950: '#000000',
  },
}
SCSS
$custom: #2d253a;
$custom-light: #665f70;
$custom-dark: #000000;
JSON
{
  "hex": "#2d253a",
  "rgb": {
    "r": 45,
    "g": 37,
    "b": 58
  },
  "hsl": {
    "h": 262.857,
    "s": 22.105,
    "l": 18.627
  },
  "oklch": {
    "l": 0.28316,
    "c": 0.03921,
    "h": 301.4
  },
  "luminance": 0.02187
}

Semantic roles & 50–950 ramp

primary
#2D253A
secondary
#616C4F
accent
#BF699E
background
#F6F5F6
surface
#EBE9EC
border
#C6C5C7
text
#060407
muted
#7A797A

Preview Lab

Preview with #2D253A

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

Preview Lab → · Contrast checker → · Palette generator →

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