#261B2F#261B2F

#261B2F is a very dark, muted violet. Relative luminance 0.014; OKLCH L 24.5% C 0.040 H 308.9°. Best body text is #FFFFFF at 16.40:1 contrast (WCAG AA passes).

Color values

HEX#261B2F
RGBrgb(38, 27, 47)
HSLhsl(273, 27%, 15%)
HSVhsv(273, 43%, 18%)
CMYKcmyk(19.1%, 42.6%, 0%, 81.6%)
CIE-LABlab(11.97, 10.33, -11.30)
CIE-LCHlch(11.97, 15.31, 312.43°)
OKLaboklab(24.52% 0.0251 -0.0311)
OKLCHoklch(24.52% 0.04 308.9)
XYZxyz(1.7043, 1.4012, 2.8694)
Luminance0.0140 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#261B2F #242F1B
analogous
#1C1B2F #261B2F #2F1B2E
triadic
#261B2F #2F261B #1B2F26
tetradic
#261B2F #2F1C1B #242F1B #1B2E2F
square
#261B2F #2F1C1B #242F1B #1B2E2F
split-complementary
#261B2F #2E2F1B #1B2F1C
monochromatic
#100B13 #100B13 #261B2F #453156 #65487D

Accessibility & contrast

On white

16.40
#261B2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.28
#261B2F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #261B2F
16.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##261B2F#FFFFFF#000000##FFFFFF
##261B2F1.0016.401.2816.40
#FFFFFF16.401.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#171F30
Deuteranopia (green-blind)
#1A202E
Tritanopia (blue-blind)
#251E22
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #261b2f;
/* rgb */ color: rgb(38, 27, 47);
/* oklch */ color: oklch(24.5% 0.040 308.9);
Tailwind
colors: {
  custom: {
    50: '#605767',
    500: '#261b2f',
    950: '#000000',
  },
}
SCSS
$custom: #261b2f;
$custom-light: #605767;
$custom-dark: #000000;
JSON
{
  "hex": "#261b2f",
  "rgb": {
    "r": 38,
    "g": 27,
    "b": 47
  },
  "hsl": {
    "h": 273,
    "s": 27.027,
    "l": 14.51
  },
  "oklch": {
    "l": 0.24519,
    "c": 0.04002,
    "h": 308.9
  },
  "luminance": 0.01401
}

Semantic roles & 50–950 ramp

primary
#261B2F
secondary
#516343
accent
#C3648F
background
#F5F5F6
surface
#E9E9EB
border
#C5C5C6
text
#050306
muted
#79787A

Preview Lab

Preview with #261B2F

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

Preview Lab → · Contrast checker → · Palette generator →

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