#2C263A#2C263A

#2C263A is a dark, muted violet. Relative luminance 0.022; OKLCH L 28.4% C 0.037 H 297.8°. Best body text is #FFFFFF at 14.53:1 contrast (WCAG AA passes).

Color values

HEX#2C263A
RGBrgb(44, 38, 58)
HSLhsl(258, 21%, 19%)
HSVhsv(258, 34%, 23%)
CMYKcmyk(24.1%, 34.5%, 0%, 77.3%)
CIE-LABlab(16.64, 7.93, -11.84)
CIE-LCHlch(16.64, 14.25, 303.81°)
OKLaboklab(28.44% 0.0172 -0.0326)
OKLCHoklch(28.44% 0.037 297.8)
XYZxyz(2.4954, 2.2272, 4.3006)
Luminance0.0223 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C263A #343A26
analogous
#262A3A #2C263A #36263A
triadic
#2C263A #3A2C26 #263A2C
tetradic
#2C263A #3A262A #343A26 #263A36
square
#2C263A #3A262A #343A26 #263A36
split-complementary
#2C263A #3A3626 #2A3A26
monochromatic
#0E0C12 #100E15 #2C263A #483E5F #645684

Accessibility & contrast

On white

14.53
#2C263A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C263A
14.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C263A#FFFFFF#000000##FFFFFF
##2C263A1.0014.531.4514.53
#FFFFFF14.531.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#21293B
Deuteranopia (green-blind)
#222939
Tritanopia (blue-blind)
#29292D
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #2c263a;
/* rgb */ color: rgb(44, 38, 58);
/* oklch */ color: oklch(28.4% 0.037 297.8);
Tailwind
colors: {
  custom: {
    50: '#656070',
    500: '#2c263a',
    950: '#000000',
  },
}
SCSS
$custom: #2c263a;
$custom-light: #656070;
$custom-dark: #000000;
JSON
{
  "hex": "#2c263a",
  "rgb": {
    "r": 44,
    "g": 38,
    "b": 58
  },
  "hsl": {
    "h": 258,
    "s": 20.833,
    "l": 18.824
  },
  "oklch": {
    "l": 0.28443,
    "c": 0.03689,
    "h": 297.8
  },
  "luminance": 0.02227
}

Semantic roles & 50–950 ramp

primary
#2C263A
secondary
#636C50
accent
#BD6AA5
background
#F6F5F6
surface
#EBE9EC
border
#C6C5C7
text
#050407
muted
#7A797A

Preview Lab

Preview with #2C263A

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

Preview Lab → · Contrast checker → · Palette generator →

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