#261F2D#261F2D

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

Color values

HEX#261F2D
RGBrgb(38, 31, 45)
HSLhsl(270, 18%, 15%)
HSVhsv(270, 31%, 18%)
CMYKcmyk(15.6%, 31.1%, 0%, 82.4%)
CIE-LABlab(13.12, 6.85, -8.08)
CIE-LCHlch(13.12, 10.59, 310.28°)
OKLaboklab(25.37% 0.0168 -0.022)
OKLCHoklch(25.37% 0.028 307.2)
XYZxyz(1.7629, 1.5815, 2.6945)
Luminance0.0158 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#261F2D #262D1F
analogous
#1F1F2D #261F2D #2D1F2D
triadic
#261F2D #2D261F #1F2D26
tetradic
#261F2D #2D1F1F #262D1F #1F2D2D
square
#261F2D #2D1F1F #262D1F #1F2D2D
split-complementary
#261F2D #2D2D1F #1F2D1F
monochromatic
#0F0C12 #0F0C12 #261F2D #453851 #635175

Accessibility & contrast

On white

15.95
#261F2D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #261F2D
15.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##261F2D#FFFFFF#000000##FFFFFF
##261F2D1.0015.951.3215.95
#FFFFFF15.951.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.951.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #261f2d;
/* rgb */ color: rgb(38, 31, 45);
/* oklch */ color: oklch(25.4% 0.028 307.2);
Tailwind
colors: {
  custom: {
    50: '#605a65',
    500: '#261f2d',
    950: '#000000',
  },
}
SCSS
$custom: #261f2d;
$custom-light: #605a65;
$custom-dark: #000000;
JSON
{
  "hex": "#261f2d",
  "rgb": {
    "r": 38,
    "g": 31,
    "b": 45
  },
  "hsl": {
    "h": 270,
    "s": 18.421,
    "l": 14.902
  },
  "oklch": {
    "l": 0.25366,
    "c": 0.0277,
    "h": 307.2
  },
  "luminance": 0.01582
}

Semantic roles & 50–950 ramp

primary
#261F2D
secondary
#545F49
accent
#BB6D94
background
#F5F5F6
surface
#E9E9EB
border
#C5C5C6
text
#050305
muted
#79787A

Preview Lab

Preview with #261F2D

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

Preview Lab → · Contrast checker → · Palette generator →

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