#261F2A#261F2A

#261F2A is a dark, muted violet. Relative luminance 0.016; OKLCH L 25.2% C 0.023 H 313.2°. Best body text is #FFFFFF at 16.01:1 contrast (WCAG AA passes).

Color values

HEX#261F2A
RGBrgb(38, 31, 42)
HSLhsl(278, 15%, 14%)
HSVhsv(278, 26%, 16%)
CMYKcmyk(9.5%, 26.2%, 0%, 83.5%)
CIE-LABlab(12.98, 6.03, -6.12)
CIE-LCHlch(12.98, 8.59, 314.58°)
OKLaboklab(25.22% 0.0155 -0.0166)
OKLCHoklch(25.22% 0.023 313.2)
XYZxyz(1.7072, 1.5592, 2.4011)
Luminance0.0156 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#261F2A #232A1F
analogous
#211F2A #261F2A #2A1F29
triadic
#261F2A #2A261F #1F2A26
tetradic
#261F2A #2A211F #232A1F #1F292A
square
#261F2A #2A211F #232A1F #1F292A
split-complementary
#261F2A #292A1F #1F2A21
monochromatic
#100D12 #100D12 #261F2A #46394D #665370

Accessibility & contrast

On white

16.01
#261F2A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #261F2A
16.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##261F2A#FFFFFF#000000##FFFFFF
##261F2A1.0016.011.3116.01
#FFFFFF16.011.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D212A
Deuteranopia (green-blind)
#1F222A
Tritanopia (blue-blind)
#262023
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #261f2a;
/* rgb */ color: rgb(38, 31, 42);
/* oklch */ color: oklch(25.2% 0.023 313.2);
Tailwind
colors: {
  custom: {
    50: '#605a63',
    500: '#261f2a',
    950: '#000000',
  },
}
SCSS
$custom: #261f2a;
$custom-light: #605a63;
$custom-dark: #000000;
JSON
{
  "hex": "#261f2a",
  "rgb": {
    "r": 38,
    "g": 31,
    "b": 42
  },
  "hsl": {
    "h": 278.182,
    "s": 15.068,
    "l": 14.314
  },
  "oklch": {
    "l": 0.25215,
    "c": 0.02272,
    "h": 313.2
  },
  "luminance": 0.01559
}

Semantic roles & 50–950 ramp

primary
#261F2A
secondary
#505B4A
accent
#B8708A
background
#F5F5F5
surface
#E9E9EA
border
#C5C5C6
text
#040305
muted
#797879

Preview Lab

Preview with #261F2A

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

Preview Lab → · Contrast checker → · Palette generator →

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