#2D243E#2D243E

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

Color values

HEX#2D243E
RGBrgb(45, 36, 62)
HSLhsl(261, 27%, 19%)
HSVhsv(261, 42%, 24%)
CMYKcmyk(27.4%, 41.9%, 0%, 75.7%)
CIE-LABlab(16.34, 10.91, -15.08)
CIE-LCHlch(16.34, 18.61, 305.88°)
OKLaboklab(28.31% 0.0235 -0.0419)
OKLCHoklch(28.31% 0.048 299.3)
XYZxyz(2.5824, 2.1674, 4.8388)
Luminance0.0217 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D243E #353E24
analogous
#24283E #2D243E #3A243E
triadic
#2D243E #3E2D24 #243E2D
tetradic
#2D243E #3E2428 #353E24 #243E3A
square
#2D243E #3E2428 #353E24 #243E3A
split-complementary
#2D243E #3E3A24 #283E24
monochromatic
#0E0B13 #110E17 #2D243E #493A65 #65518B

Accessibility & contrast

On white

14.65
#2D243E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D243E
14.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D243E#FFFFFF#000000##FFFFFF
##2D243E1.0014.651.4314.65
#FFFFFF14.651.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E283F
Deuteranopia (green-blind)
#1F283D
Tritanopia (blue-blind)
#2A282E
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #2d243e;
/* rgb */ color: rgb(45, 36, 62);
/* oklch */ color: oklch(28.3% 0.048 299.3);
Tailwind
colors: {
  custom: {
    50: '#665e73',
    500: '#2d243e',
    950: '#000000',
  },
}
SCSS
$custom: #2d243e;
$custom-light: #665e73;
$custom-dark: #000000;
JSON
{
  "hex": "#2d243e",
  "rgb": {
    "r": 45,
    "g": 36,
    "b": 62
  },
  "hsl": {
    "h": 260.769,
    "s": 26.531,
    "l": 19.216
  },
  "oklch": {
    "l": 0.28313,
    "c": 0.048,
    "h": 299.3
  },
  "luminance": 0.02167
}

Semantic roles & 50–950 ramp

primary
#2D243E
secondary
#64714D
accent
#C365A2
background
#F6F5F7
surface
#EBE9ED
border
#C6C5C8
text
#060408
muted
#7A797B

Preview Lab

Preview with #2D243E

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

Preview Lab → · Contrast checker → · Palette generator →

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