#2C243E#2C243E

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

Color values

HEX#2C243E
RGBrgb(44, 36, 62)
HSLhsl(258, 27%, 19%)
HSVhsv(258, 42%, 24%)
CMYKcmyk(29%, 41.9%, 0%, 75.7%)
CIE-LABlab(16.23, 10.54, -15.26)
CIE-LCHlch(16.23, 18.55, 304.63°)
OKLaboklab(28.2% 0.022 -0.0424)
OKLCHoklch(28.2% 0.048 297.4)
XYZxyz(2.5389, 2.1450, 4.8368)
Luminance0.0215 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C243E #363E24
analogous
#24293E #2C243E #39243E
triadic
#2C243E #3E2C24 #243E2C
tetradic
#2C243E #3E2429 #363E24 #243E39
square
#2C243E #3E2429 #363E24 #243E39
split-complementary
#2C243E #3E3924 #293E24
monochromatic
#0E0B13 #110E17 #2C243E #473A65 #63518B

Accessibility & contrast

On white

14.70
#2C243E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C243E
14.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C243E#FFFFFF#000000##FFFFFF
##2C243E1.0014.701.4314.70
#FFFFFF14.701.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D283F
Deuteranopia (green-blind)
#1F283D
Tritanopia (blue-blind)
#28282E
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #2c243e;
/* rgb */ color: rgb(44, 36, 62);
/* oklch */ color: oklch(28.2% 0.048 297.4);
Tailwind
colors: {
  custom: {
    50: '#665e73',
    500: '#2c243e',
    950: '#000000',
  },
}
SCSS
$custom: #2c243e;
$custom-light: #665e73;
$custom-dark: #000000;
JSON
{
  "hex": "#2c243e",
  "rgb": {
    "r": 44,
    "g": 36,
    "b": 62
  },
  "hsl": {
    "h": 258.462,
    "s": 26.531,
    "l": 19.216
  },
  "oklch": {
    "l": 0.28201,
    "c": 0.04779,
    "h": 297.4
  },
  "luminance": 0.02145
}

Semantic roles & 50–950 ramp

primary
#2C243E
secondary
#66714D
accent
#C365A6
background
#F6F5F7
surface
#EBE9ED
border
#C6C5C8
text
#060408
muted
#7A797B

Preview Lab

Preview with #2C243E

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

Preview Lab → · Contrast checker → · Palette generator →

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