#2D253E#2D253E

#2D253E is a dark, muted violet. Relative luminance 0.022; OKLCH L 28.5% C 0.046 H 298.2°. Best body text is #FFFFFF at 14.52:1 contrast (WCAG AA passes).

Color values

HEX#2D253E
RGBrgb(45, 37, 62)
HSLhsl(259, 25%, 19%)
HSVhsv(259, 40%, 24%)
CMYKcmyk(27.4%, 40.3%, 0%, 75.7%)
CIE-LABlab(16.64, 10.20, -14.61)
CIE-LCHlch(16.64, 17.81, 304.92°)
OKLaboklab(28.54% 0.0217 -0.0405)
OKLCHoklch(28.54% 0.046 298.2)
XYZxyz(2.6131, 2.2288, 4.8490)
Luminance0.0223 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D253E #363E25
analogous
#252A3E #2D253E #3A253E
triadic
#2D253E #3E2D25 #253E2D
tetradic
#2D253E #3E252A #363E25 #253E3A
square
#2D253E #3E252A #363E25 #253E3A
split-complementary
#2D253E #3E3A25 #2A3E25
monochromatic
#0E0B13 #110E18 #2D253E #493C64 #65538B

Accessibility & contrast

On white

14.52
#2D253E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D253E
14.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D253E#FFFFFF#000000##FFFFFF
##2D253E1.0014.521.4514.52
#FFFFFF14.521.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F293F
Deuteranopia (green-blind)
#20293D
Tritanopia (blue-blind)
#2A292E
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #2d253e;
/* rgb */ color: rgb(45, 37, 62);
/* oklch */ color: oklch(28.5% 0.046 298.2);
Tailwind
colors: {
  custom: {
    50: '#665f73',
    500: '#2d253e',
    950: '#000000',
  },
}
SCSS
$custom: #2d253e;
$custom-light: #665f73;
$custom-dark: #000000;
JSON
{
  "hex": "#2d253e",
  "rgb": {
    "r": 45,
    "g": 37,
    "b": 62
  },
  "hsl": {
    "h": 259.2,
    "s": 25.253,
    "l": 19.412
  },
  "oklch": {
    "l": 0.28543,
    "c": 0.04597,
    "h": 298.2
  },
  "luminance": 0.02229
}

Semantic roles & 50–950 ramp

primary
#2D253E
secondary
#65704F
accent
#C266A4
background
#F6F5F7
surface
#EBE9ED
border
#C6C5C8
text
#060408
muted
#7A797B

Preview Lab

Preview with #2D253E

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

Preview Lab → · Contrast checker → · Palette generator →

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