#261F2B#261F2B

#261F2B is a dark, muted violet. Relative luminance 0.016; OKLCH L 25.3% C 0.024 H 311.0°. Best body text is #FFFFFF at 15.99:1 contrast (WCAG AA passes).

Color values

HEX#261F2B
RGBrgb(38, 31, 43)
HSLhsl(275, 16%, 15%)
HSVhsv(275, 28%, 17%)
CMYKcmyk(11.6%, 27.9%, 0%, 83.1%)
CIE-LABlab(13.02, 6.30, -6.78)
CIE-LCHlch(13.02, 9.25, 312.91°)
OKLaboklab(25.26% 0.016 -0.0184)
OKLCHoklch(25.26% 0.024 311)
XYZxyz(1.7253, 1.5665, 2.4965)
Luminance0.0157 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#261F2B #242B1F
analogous
#201F2B #261F2B #2B1F2A
triadic
#261F2B #2B261F #1F2B26
tetradic
#261F2B #2B201F #242B1F #1F2A2B
square
#261F2B #2B201F #242B1F #1F2A2B
split-complementary
#261F2B #2A2B1F #1F2B20
monochromatic
#100D12 #100D12 #261F2B #45394F #655272

Accessibility & contrast

On white

15.99
#261F2B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#261F2B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #261F2B
15.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##261F2B#FFFFFF#000000##FFFFFF
##261F2B1.0015.991.3115.99
#FFFFFF15.991.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF15.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D212C
Deuteranopia (green-blind)
#1F222B
Tritanopia (blue-blind)
#262023
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #261f2b;
/* rgb */ color: rgb(38, 31, 43);
/* oklch */ color: oklch(25.3% 0.024 311.0);
Tailwind
colors: {
  custom: {
    50: '#605a64',
    500: '#261f2b',
    950: '#000000',
  },
}
SCSS
$custom: #261f2b;
$custom-light: #605a64;
$custom-dark: #000000;
JSON
{
  "hex": "#261f2b",
  "rgb": {
    "r": 38,
    "g": 31,
    "b": 43
  },
  "hsl": {
    "h": 275,
    "s": 16.216,
    "l": 14.51
  },
  "oklch": {
    "l": 0.25264,
    "c": 0.02435,
    "h": 311
  },
  "luminance": 0.01566
}

Semantic roles & 50–950 ramp

primary
#261F2B
secondary
#515C49
accent
#B96F8E
background
#F5F5F5
surface
#E9E9EA
border
#C5C5C6
text
#040305
muted
#797879

Preview Lab

Preview with #261F2B

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

Preview Lab → · Contrast checker → · Palette generator →

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