#2D263F#2D263F

#2D263F is a dark, muted violet. Relative luminance 0.023; OKLCH L 28.8% C 0.046 H 296.3°. Best body text is #FFFFFF at 14.38:1 contrast (WCAG AA passes).

Color values

HEX#2D263F
RGBrgb(45, 38, 63)
HSLhsl(257, 25%, 20%)
HSVhsv(257, 40%, 25%)
CMYKcmyk(28.6%, 39.7%, 0%, 75.3%)
CIE-LABlab(17.00, 9.78, -14.74)
CIE-LCHlch(17.00, 17.69, 303.57°)
OKLaboklab(28.83% 0.0202 -0.0409)
OKLCHoklch(28.83% 0.046 296.3)
XYZxyz(2.6723, 2.3030, 5.0054)
Luminance0.0230 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D263F #383F26
analogous
#262C3F #2D263F #3A263F
triadic
#2D263F #3F2D26 #263F2D
tetradic
#2D263F #3F262C #383F26 #263F3A
square
#2D263F #3F262C #383F26 #263F3A
split-complementary
#2D263F #3F3A26 #2C3F26
monochromatic
#0E0C13 #120F19 #2D263F #483D65 #64548B

Accessibility & contrast

On white

14.38
#2D263F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D263F
14.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D263F#FFFFFF#000000##FFFFFF
##2D263F1.0014.381.4614.38
#FFFFFF14.381.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#202A40
Deuteranopia (green-blind)
#212A3E
Tritanopia (blue-blind)
#292A2F
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #2d263f;
/* rgb */ color: rgb(45, 38, 63);
/* oklch */ color: oklch(28.8% 0.046 296.3);
Tailwind
colors: {
  custom: {
    50: '#666074',
    500: '#2d263f',
    950: '#000000',
  },
}
SCSS
$custom: #2d263f;
$custom-light: #666074;
$custom-dark: #000000;
JSON
{
  "hex": "#2d263f",
  "rgb": {
    "r": 45,
    "g": 38,
    "b": 63
  },
  "hsl": {
    "h": 256.8,
    "s": 24.752,
    "l": 19.804
  },
  "oklch": {
    "l": 0.28834,
    "c": 0.04565,
    "h": 296.3
  },
  "luminance": 0.02303
}

Semantic roles & 50–950 ramp

primary
#2D263F
secondary
#687150
accent
#C167A8
background
#F6F5F7
surface
#EBE9ED
border
#C6C5C8
text
#060408
muted
#7A797B

Preview Lab

Preview with #2D263F

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

Preview Lab → · Contrast checker → · Palette generator →

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