#2D263C#2D263C

#2D263C is a dark, muted violet. Relative luminance 0.023; OKLCH L 28.7% C 0.041 H 298.4°. Best body text is #FFFFFF at 14.44:1 contrast (WCAG AA passes).

Color values

HEX#2D263C
RGBrgb(45, 38, 60)
HSLhsl(259, 22%, 19%)
HSVhsv(259, 37%, 24%)
CMYKcmyk(25%, 36.7%, 0%, 76.5%)
CIE-LABlab(16.85, 8.90, -12.90)
CIE-LCHlch(16.85, 15.67, 304.58°)
OKLaboklab(28.66% 0.0193 -0.0356)
OKLCHoklch(28.66% 0.041 298.4)
XYZxyz(2.5907, 2.2703, 4.5758)
Luminance0.0227 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D263C #353C26
analogous
#262A3C #2D263C #38263C
triadic
#2D263C #3C2D26 #263C2D
tetradic
#2D263C #3C262A #353C26 #263C38
square
#2D263C #3C262A #353C26 #263C38
split-complementary
#2D263C #3C3826 #2A3C26
monochromatic
#0E0C13 #110E17 #2D263C #493E61 #655587

Accessibility & contrast

On white

14.44
#2D263C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#2D263C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D263C
14.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D263C#FFFFFF#000000##FFFFFF
##2D263C1.0014.441.4514.44
#FFFFFF14.441.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#212A3D
Deuteranopia (green-blind)
#22293B
Tritanopia (blue-blind)
#2A292E
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #2d263c;
/* rgb */ color: rgb(45, 38, 60);
/* oklch */ color: oklch(28.7% 0.041 298.4);
Tailwind
colors: {
  custom: {
    50: '#666071',
    500: '#2d263c',
    950: '#000000',
  },
}
SCSS
$custom: #2d263c;
$custom-light: #666071;
$custom-dark: #000000;
JSON
{
  "hex": "#2d263c",
  "rgb": {
    "r": 45,
    "g": 38,
    "b": 60
  },
  "hsl": {
    "h": 259.091,
    "s": 22.449,
    "l": 19.216
  },
  "oklch": {
    "l": 0.28663,
    "c": 0.04054,
    "h": 298.4
  },
  "luminance": 0.0227
}

Semantic roles & 50–950 ramp

primary
#2D263C
secondary
#646E50
accent
#BF69A4
background
#F6F5F6
surface
#EBE9EC
border
#C6C5C7
text
#060407
muted
#7A797A

Preview Lab

Preview with #2D263C

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

Preview Lab → · Contrast checker → · Palette generator →

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