#2D263E#2D263E

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

Color values

HEX#2D263E
RGBrgb(45, 38, 62)
HSLhsl(258, 24%, 20%)
HSVhsv(258, 39%, 24%)
CMYKcmyk(27.4%, 38.7%, 0%, 75.7%)
CIE-LABlab(16.95, 9.48, -14.13)
CIE-LCHlch(16.95, 17.02, 303.87°)
OKLaboklab(28.78% 0.0199 -0.0392)
OKLCHoklch(28.78% 0.044 297)
XYZxyz(2.6446, 2.2919, 4.8595)
Luminance0.0229 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D263E #373E26
analogous
#262B3E #2D263E #39263E
triadic
#2D263E #3E2D26 #263E2D
tetradic
#2D263E #3E262B #373E26 #263E39
square
#2D263E #3E262B #373E26 #263E39
split-complementary
#2D263E #3E3926 #2B3E26
monochromatic
#0E0C13 #110F18 #2D263E #493D64 #64558A

Accessibility & contrast

On white

14.40
#2D263E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D263E
14.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D263E#FFFFFF#000000##FFFFFF
##2D263E1.0014.401.4614.40
#FFFFFF14.401.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#202A3F
Deuteranopia (green-blind)
#212A3D
Tritanopia (blue-blind)
#2A2A2F
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #2d263e;
/* rgb */ color: rgb(45, 38, 62);
/* oklch */ color: oklch(28.8% 0.044 297.0);
Tailwind
colors: {
  custom: {
    50: '#666073',
    500: '#2d263e',
    950: '#000000',
  },
}
SCSS
$custom: #2d263e;
$custom-light: #666073;
$custom-dark: #000000;
JSON
{
  "hex": "#2d263e",
  "rgb": {
    "r": 45,
    "g": 38,
    "b": 62
  },
  "hsl": {
    "h": 257.5,
    "s": 24,
    "l": 19.608
  },
  "oklch": {
    "l": 0.28776,
    "c": 0.04394,
    "h": 297
  },
  "luminance": 0.02292
}

Semantic roles & 50–950 ramp

primary
#2D263E
secondary
#677050
accent
#C067A6
background
#F6F5F7
surface
#EBE9ED
border
#C6C5C8
text
#060408
muted
#7A797B

Preview Lab

Preview with #2D263E

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

Preview Lab → · Contrast checker → · Palette generator →

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