#2B243B#2B243B

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

Color values

HEX#2B243B
RGBrgb(43, 36, 59)
HSLhsl(258, 24%, 19%)
HSVhsv(258, 39%, 23%)
CMYKcmyk(27.1%, 39%, 0%, 76.9%)
CIE-LABlab(15.96, 9.27, -13.60)
CIE-LCHlch(15.96, 16.46, 304.28°)
OKLaboklab(27.91% 0.0197 -0.0377)
OKLCHoklch(27.91% 0.043 297.6)
XYZxyz(2.4164, 2.0911, 4.4131)
Luminance0.0209 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B243B #343B24
analogous
#24283B #2B243B #36243B
triadic
#2B243B #3B2B24 #243B2B
tetradic
#2B243B #3B2428 #343B24 #243B36
square
#2B243B #3B2428 #343B24 #243B36
split-complementary
#2B243B #3B3624 #283B24
monochromatic
#0E0C13 #0F0D15 #2B243B #473B61 #625287

Accessibility & contrast

On white

14.81
#2B243B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B243B
14.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B243B#FFFFFF#000000##FFFFFF
##2B243B1.0014.811.4214.81
#FFFFFF14.811.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E283C
Deuteranopia (green-blind)
#20273A
Tritanopia (blue-blind)
#28282C
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #2b243b;
/* rgb */ color: rgb(43, 36, 59);
/* oklch */ color: oklch(27.9% 0.043 297.6);
Tailwind
colors: {
  custom: {
    50: '#655e71',
    500: '#2b243b',
    950: '#000000',
  },
}
SCSS
$custom: #2b243b;
$custom-light: #655e71;
$custom-dark: #000000;
JSON
{
  "hex": "#2b243b",
  "rgb": {
    "r": 43,
    "g": 36,
    "b": 59
  },
  "hsl": {
    "h": 258.261,
    "s": 24.211,
    "l": 18.627
  },
  "oklch": {
    "l": 0.27913,
    "c": 0.04251,
    "h": 297.6
  },
  "luminance": 0.02091
}

Semantic roles & 50–950 ramp

primary
#2B243B
secondary
#646D4E
accent
#C167A5
background
#F6F5F6
surface
#EBE9EC
border
#C6C5C7
text
#050407
muted
#7A797A

Preview Lab

Preview with #2B243B

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

Preview Lab → · Contrast checker → · Palette generator →

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