#2C243F#2C243F

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

Color values

HEX#2C243F
RGBrgb(44, 36, 63)
HSLhsl(258, 27%, 19%)
HSVhsv(258, 43%, 25%)
CMYKcmyk(30.2%, 42.9%, 0%, 75.3%)
CIE-LABlab(16.29, 10.84, -15.87)
CIE-LCHlch(16.29, 19.22, 304.34°)
OKLaboklab(28.26% 0.0223 -0.0442)
OKLCHoklch(28.26% 0.049 296.7)
XYZxyz(2.5666, 2.1561, 4.9826)
Luminance0.0216 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C243F #373F24
analogous
#242A3F #2C243F #3A243F
triadic
#2C243F #3F2C24 #243F2C
tetradic
#2C243F #3F242A #373F24 #243F3A
square
#2C243F #3F242A #373F24 #243F3A
split-complementary
#2C243F #3F3A24 #2A3F24
monochromatic
#0E0B13 #110E18 #2C243F #473A66 #62518D

Accessibility & contrast

On white

14.67
#2C243F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C243F
14.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C243F#FFFFFF#000000##FFFFFF
##2C243F1.0014.671.4314.67
#FFFFFF14.671.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.671.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2c243f;
/* rgb */ color: rgb(44, 36, 63);
/* oklch */ color: oklch(28.3% 0.049 296.7);
Tailwind
colors: {
  custom: {
    50: '#665e74',
    500: '#2c243f',
    950: '#000000',
  },
}
SCSS
$custom: #2c243f;
$custom-light: #665e74;
$custom-dark: #000000;
JSON
{
  "hex": "#2c243f",
  "rgb": {
    "r": 44,
    "g": 36,
    "b": 63
  },
  "hsl": {
    "h": 257.778,
    "s": 27.273,
    "l": 19.412
  },
  "oklch": {
    "l": 0.28261,
    "c": 0.04948,
    "h": 296.7
  },
  "luminance": 0.02156
}

Semantic roles & 50–950 ramp

primary
#2C243F
secondary
#67724D
accent
#C464A7
background
#F6F5F7
surface
#EBE9ED
border
#C6C5C8
text
#060408
muted
#7A797B

Preview Lab

Preview with #2C243F

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

Preview Lab → · Contrast checker → · Palette generator →

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