#2D263D#2D263D

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

Color values

HEX#2D263D
RGBrgb(45, 38, 61)
HSLhsl(258, 23%, 19%)
HSVhsv(258, 38%, 24%)
CMYKcmyk(26.2%, 37.7%, 0%, 76.1%)
CIE-LABlab(16.90, 9.19, -13.52)
CIE-LCHlch(16.90, 16.35, 304.20°)
OKLaboklab(28.72% 0.0196 -0.0374)
OKLCHoklch(28.72% 0.042 297.7)
XYZxyz(2.6174, 2.2810, 4.7164)
Luminance0.0228 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D263D #363D26
analogous
#262B3D #2D263D #39263D
triadic
#2D263D #3D2D26 #263D2D
tetradic
#2D263D #3D262B #363D26 #263D39
square
#2D263D #3D262B #363D26 #263D39
split-complementary
#2D263D #3D3926 #2B3D26
monochromatic
#0E0C13 #110F17 #2D263D #493D63 #655588

Accessibility & contrast

On white

14.42
#2D263D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#2D263D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D263D
14.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D263D#FFFFFF#000000##FFFFFF
##2D263D1.0014.421.4614.42
#FFFFFF14.421.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#212A3E
Deuteranopia (green-blind)
#22293C
Tritanopia (blue-blind)
#2A2A2E
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #2d263d;
/* rgb */ color: rgb(45, 38, 61);
/* oklch */ color: oklch(28.7% 0.042 297.7);
Tailwind
colors: {
  custom: {
    50: '#666072',
    500: '#2d263d',
    950: '#000000',
  },
}
SCSS
$custom: #2d263d;
$custom-light: #666072;
$custom-dark: #000000;
JSON
{
  "hex": "#2d263d",
  "rgb": {
    "r": 45,
    "g": 38,
    "b": 61
  },
  "hsl": {
    "h": 258.261,
    "s": 23.232,
    "l": 19.412
  },
  "oklch": {
    "l": 0.28719,
    "c": 0.04224,
    "h": 297.7
  },
  "luminance": 0.02281
}

Semantic roles & 50–950 ramp

primary
#2D263D
secondary
#656F50
accent
#C068A5
background
#F6F5F6
surface
#EBE9EC
border
#C6C5C7
text
#060408
muted
#7A797B

Preview Lab

Preview with #2D263D

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

Preview Lab → · Contrast checker → · Palette generator →

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