#261F2E#261F2E

#261F2E is a dark, muted violet. Relative luminance 0.016; OKLCH L 25.4% C 0.029 H 305.7°. Best body text is #FFFFFF at 15.94:1 contrast (WCAG AA passes).

Color values

HEX#261F2E
RGBrgb(38, 31, 46)
HSLhsl(268, 19%, 15%)
HSVhsv(268, 33%, 18%)
CMYKcmyk(17.4%, 32.6%, 0%, 82%)
CIE-LABlab(13.16, 7.13, -8.73)
CIE-LCHlch(13.16, 11.27, 309.24°)
OKLaboklab(25.42% 0.0172 -0.0239)
OKLCHoklch(25.42% 0.029 305.7)
XYZxyz(1.7824, 1.5893, 2.7971)
Luminance0.0159 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#261F2E #272E1F
analogous
#1F1F2E #261F2E #2E1F2E
triadic
#261F2E #2E261F #1F2E26
tetradic
#261F2E #2E1F1F #272E1F #1F2E2E
square
#261F2E #2E1F1F #272E1F #1F2E2E
split-complementary
#261F2E #2E2E1F #1F2E1F
monochromatic
#0F0C12 #0F0C12 #261F2E #443853 #625077

Accessibility & contrast

On white

15.94
#261F2E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#261F2E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #261F2E
15.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##261F2E#FFFFFF#000000##FFFFFF
##261F2E1.0015.941.3215.94
#FFFFFF15.941.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C222F
Deuteranopia (green-blind)
#1E222E
Tritanopia (blue-blind)
#252124
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #261f2e;
/* rgb */ color: rgb(38, 31, 46);
/* oklch */ color: oklch(25.4% 0.029 305.7);
Tailwind
colors: {
  custom: {
    50: '#605a66',
    500: '#261f2e',
    950: '#000000',
  },
}
SCSS
$custom: #261f2e;
$custom-light: #605a66;
$custom-dark: #000000;
JSON
{
  "hex": "#261f2e",
  "rgb": {
    "r": 38,
    "g": 31,
    "b": 46
  },
  "hsl": {
    "h": 268,
    "s": 19.481,
    "l": 15.098
  },
  "oklch": {
    "l": 0.25419,
    "c": 0.0294,
    "h": 305.7
  },
  "luminance": 0.01589
}

Semantic roles & 50–950 ramp

primary
#261F2E
secondary
#556049
accent
#BC6C97
background
#F5F5F6
surface
#E9E9EB
border
#C5C5C6
text
#050306
muted
#79787A

Preview Lab

Preview with #261F2E

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

Preview Lab → · Contrast checker → · Palette generator →

#261F2E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva