#2B243A#2B243A

#2B243A is a dark, muted violet. Relative luminance 0.021; OKLCH L 27.9% C 0.041 H 298.3°. Best body text is #FFFFFF at 14.83:1 contrast (WCAG AA passes).

Color values

HEX#2B243A
RGBrgb(43, 36, 58)
HSLhsl(259, 23%, 18%)
HSVhsv(259, 38%, 23%)
CMYKcmyk(25.9%, 37.9%, 0%, 77.3%)
CIE-LABlab(15.91, 8.97, -12.98)
CIE-LCHlch(15.91, 15.78, 304.65°)
OKLaboklab(27.86% 0.0194 -0.0359)
OKLCHoklch(27.86% 0.041 298.3)
XYZxyz(2.3907, 2.0808, 4.2779)
Luminance0.0208 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B243A #333A24
analogous
#24283A #2B243A #36243A
triadic
#2B243A #3A2B24 #243A2B
tetradic
#2B243A #3A2428 #333A24 #243A36
square
#2B243A #3A2428 #333A24 #243A36
split-complementary
#2B243A #3A3624 #283A24
monochromatic
#0E0C13 #0F0D14 #2B243A #473B60 #635386

Accessibility & contrast

On white

14.83
#2B243A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#2B243A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B243A
14.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B243A#FFFFFF#000000##FFFFFF
##2B243A1.0014.831.4214.83
#FFFFFF14.831.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F283B
Deuteranopia (green-blind)
#202739
Tritanopia (blue-blind)
#28282C
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #2b243a;
/* rgb */ color: rgb(43, 36, 58);
/* oklch */ color: oklch(27.9% 0.041 298.3);
Tailwind
colors: {
  custom: {
    50: '#645e70',
    500: '#2b243a',
    950: '#000000',
  },
}
SCSS
$custom: #2b243a;
$custom-light: #645e70;
$custom-dark: #000000;
JSON
{
  "hex": "#2b243a",
  "rgb": {
    "r": 43,
    "g": 36,
    "b": 58
  },
  "hsl": {
    "h": 259.091,
    "s": 23.404,
    "l": 18.431
  },
  "oklch": {
    "l": 0.27856,
    "c": 0.04079,
    "h": 298.3
  },
  "luminance": 0.02081
}

Semantic roles & 50–950 ramp

primary
#2B243A
secondary
#626C4E
accent
#C068A4
background
#F6F5F6
surface
#EBE9EC
border
#C6C5C7
text
#050407
muted
#7A797A

Preview Lab

Preview with #2B243A

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

Preview Lab → · Contrast checker → · Palette generator →

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