#2B243F#2B243F

#2B243F is a dark, muted violet. Relative luminance 0.021; OKLCH L 28.2% C 0.049 H 295.0°. Best body text is #FFFFFF at 14.72:1 contrast (WCAG AA passes).

Color values

HEX#2B243F
RGBrgb(43, 36, 63)
HSLhsl(256, 27%, 19%)
HSVhsv(256, 43%, 25%)
CMYKcmyk(31.7%, 42.9%, 0%, 75.3%)
CIE-LABlab(16.18, 10.48, -16.05)
CIE-LCHlch(16.18, 19.17, 303.15°)
OKLaboklab(28.15% 0.0208 -0.0447)
OKLCHoklch(28.15% 0.049 295)
XYZxyz(2.5241, 2.1342, 4.9806)
Luminance0.0213 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B243F #383F24
analogous
#242B3F #2B243F #39243F
triadic
#2B243F #3F2B24 #243F2B
tetradic
#2B243F #3F242B #383F24 #243F39
square
#2B243F #3F242B #383F24 #243F39
split-complementary
#2B243F #3F3924 #2B3F24
monochromatic
#0D0B13 #100E18 #2B243F #463A66 #60518D

Accessibility & contrast

On white

14.72
#2B243F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B243F
14.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B243F#FFFFFF#000000##FFFFFF
##2B243F1.0014.721.4314.72
#FFFFFF14.721.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D2840
Deuteranopia (green-blind)
#1E283E
Tritanopia (blue-blind)
#27292E
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #2b243f;
/* rgb */ color: rgb(43, 36, 63);
/* oklch */ color: oklch(28.2% 0.049 295.0);
Tailwind
colors: {
  custom: {
    50: '#655e74',
    500: '#2b243f',
    950: '#000000',
  },
}
SCSS
$custom: #2b243f;
$custom-light: #655e74;
$custom-dark: #000000;
JSON
{
  "hex": "#2b243f",
  "rgb": {
    "r": 43,
    "g": 36,
    "b": 63
  },
  "hsl": {
    "h": 255.556,
    "s": 27.273,
    "l": 19.412
  },
  "oklch": {
    "l": 0.28151,
    "c": 0.04935,
    "h": 295
  },
  "luminance": 0.02134
}

Semantic roles & 50–950 ramp

primary
#2B243F
secondary
#68724D
accent
#C464AB
background
#F6F5F7
surface
#EBE9ED
border
#C6C5C8
text
#050408
muted
#7A797B

Preview Lab

Preview with #2B243F

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

Preview Lab → · Contrast checker → · Palette generator →

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