#262129#262129

#262129 is a dark, near-neutral violet. Relative luminance 0.017; OKLCH L 25.7% C 0.016 H 312.9°. Best body text is #FFFFFF at 15.77:1 contrast (WCAG AA passes).

Color values

HEX#262129
RGBrgb(38, 33, 41)
HSLhsl(278, 11%, 15%)
HSVhsv(278, 20%, 16%)
CMYKcmyk(7.3%, 19.5%, 0%, 83.9%)
CIE-LABlab(13.59, 4.32, -4.48)
CIE-LCHlch(13.59, 6.22, 313.97°)
OKLaboklab(25.67% 0.0112 -0.012)
OKLCHoklch(25.67% 0.016 312.9)
XYZxyz(1.7434, 1.6599, 2.3259)
Luminance0.0166 (WCAG relative)
Temperatureneutral
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262129 #242921
analogous
#222129 #262129 #292128
triadic
#262129 #292621 #212926
tetradic
#262129 #292221 #242921 #212829
square
#262129 #292221 #242921 #212829
split-complementary
#262129 #282921 #212922
monochromatic
#100E11 #100E11 #262129 #453C4B #65586D

Accessibility & contrast

On white

15.77
#262129 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#262129 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262129
15.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262129#FFFFFF#000000##FFFFFF
##2621291.0015.771.3315.77
#FFFFFF15.771.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#202229
Deuteranopia (green-blind)
#212329
Tritanopia (blue-blind)
#262224
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #262129;
/* rgb */ color: rgb(38, 33, 41);
/* oklch */ color: oklch(25.7% 0.016 312.9);
Tailwind
colors: {
  custom: {
    50: '#605c62',
    500: '#262129',
    950: '#000000',
  },
}
SCSS
$custom: #262129;
$custom-light: #605c62;
$custom-dark: #000000;
JSON
{
  "hex": "#262129",
  "rgb": {
    "r": 38,
    "g": 33,
    "b": 41
  },
  "hsl": {
    "h": 277.5,
    "s": 10.811,
    "l": 14.51
  },
  "oklch": {
    "l": 0.25674,
    "c": 0.01643,
    "h": 312.9
  },
  "luminance": 0.0166
}

Semantic roles & 50–950 ramp

primary
#262129
secondary
#51594D
accent
#B4748C
background
#F5F5F5
surface
#E9E9EA
border
#C5C5C6
text
#040405
muted
#797979

Preview Lab

Preview with #262129

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

Preview Lab → · Contrast checker → · Palette generator →

#262129 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva