#261E2F#261E2F

#261E2F is a dark, muted violet. Relative luminance 0.015; OKLCH L 25.2% C 0.033 H 305.6°. Best body text is #FFFFFF at 16.04:1 contrast (WCAG AA passes).

Color values

HEX#261E2F
RGBrgb(38, 30, 47)
HSLhsl(268, 22%, 15%)
HSVhsv(268, 36%, 18%)
CMYKcmyk(19.1%, 36.2%, 0%, 81.6%)
CIE-LABlab(12.90, 8.14, -9.86)
CIE-LCHlch(12.90, 12.79, 309.53°)
OKLaboklab(25.23% 0.0194 -0.0271)
OKLCHoklch(25.23% 0.033 305.6)
XYZxyz(1.7766, 1.5459, 2.8936)
Luminance0.0155 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#261E2F #272F1E
analogous
#1E1E2F #261E2F #2E1E2F
triadic
#261E2F #2F261E #1E2F26
tetradic
#261E2F #2F1E1E #272F1E #1E2F2E
square
#261E2F #2F1E1E #272F1E #1E2F2E
split-complementary
#261E2F #2F2E1E #1E2F1E
monochromatic
#0F0C13 #0F0C13 #261E2F #443654 #624E7A

Accessibility & contrast

On white

16.04
#261E2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #261E2F
16.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##261E2F#FFFFFF#000000##FFFFFF
##261E2F1.0016.041.3116.04
#FFFFFF16.041.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B2130
Deuteranopia (green-blind)
#1C212E
Tritanopia (blue-blind)
#252024
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #261e2f;
/* rgb */ color: rgb(38, 30, 47);
/* oklch */ color: oklch(25.2% 0.033 305.6);
Tailwind
colors: {
  custom: {
    50: '#605967',
    500: '#261e2f',
    950: '#000000',
  },
}
SCSS
$custom: #261e2f;
$custom-light: #605967;
$custom-dark: #000000;
JSON
{
  "hex": "#261e2f",
  "rgb": {
    "r": 38,
    "g": 30,
    "b": 47
  },
  "hsl": {
    "h": 268.235,
    "s": 22.078,
    "l": 15.098
  },
  "oklch": {
    "l": 0.25229,
    "c": 0.03332,
    "h": 305.6
  },
  "luminance": 0.01546
}

Semantic roles & 50–950 ramp

primary
#261E2F
secondary
#556147
accent
#BF6996
background
#F5F5F6
surface
#E9E9EB
border
#C5C5C6
text
#050306
muted
#79787A

Preview Lab

Preview with #261E2F

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

Preview Lab → · Contrast checker → · Palette generator →

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