#2B253D#2B253D

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

Color values

HEX#2B253D
RGBrgb(43, 37, 61)
HSLhsl(255, 24%, 19%)
HSVhsv(255, 39%, 24%)
CMYKcmyk(29.5%, 39.3%, 0%, 76.1%)
CIE-LABlab(16.37, 9.16, -14.35)
CIE-LCHlch(16.37, 17.02, 302.54°)
OKLaboklab(28.27% 0.0185 -0.0398)
OKLCHoklch(28.27% 0.044 294.9)
XYZxyz(2.4999, 2.1736, 4.7018)
Luminance0.0217 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B253D #373D25
analogous
#252B3D #2B253D #37253D
triadic
#2B253D #3D2B25 #253D2B
tetradic
#2B253D #3D252B #373D25 #253D37
square
#2B253D #3D252B #373D25 #253D37
split-complementary
#2B253D #3D3725 #2B3D25
monochromatic
#0D0C13 #100E17 #2B253D #463C63 #615389

Accessibility & contrast

On white

14.64
#2B253D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#2B253D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B253D
14.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B253D#FFFFFF#000000##FFFFFF
##2B253D1.0014.641.4314.64
#FFFFFF14.641.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F293E
Deuteranopia (green-blind)
#20283C
Tritanopia (blue-blind)
#27292E
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #2b253d;
/* rgb */ color: rgb(43, 37, 61);
/* oklch */ color: oklch(28.3% 0.044 294.9);
Tailwind
colors: {
  custom: {
    50: '#655f72',
    500: '#2b253d',
    950: '#000000',
  },
}
SCSS
$custom: #2b253d;
$custom-light: #655f72;
$custom-dark: #000000;
JSON
{
  "hex": "#2b253d",
  "rgb": {
    "r": 43,
    "g": 37,
    "b": 61
  },
  "hsl": {
    "h": 255,
    "s": 24.49,
    "l": 19.216
  },
  "oklch": {
    "l": 0.28265,
    "c": 0.04393,
    "h": 294.9
  },
  "luminance": 0.02174
}

Semantic roles & 50–950 ramp

primary
#2B253D
secondary
#676F4F
accent
#C167AA
background
#F6F5F6
surface
#EBE9EC
border
#C6C5C7
text
#050408
muted
#7A797B

Preview Lab

Preview with #2B253D

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

Preview Lab → · Contrast checker → · Palette generator →

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