#261C38#261C38

#261C38 is a dark, muted violet. Relative luminance 0.015; OKLCH L 25.3% C 0.053 H 299.1°. Best body text is #FFFFFF at 16.08:1 contrast (WCAG AA passes).

Color values

HEX#261C38
RGBrgb(38, 28, 56)
HSLhsl(261, 33%, 16%)
HSVhsv(261, 50%, 22%)
CMYKcmyk(32.1%, 50%, 0%, 78%)
CIE-LABlab(12.79, 12.29, -16.49)
CIE-LCHlch(12.79, 20.56, 306.70°)
OKLaboklab(25.31% 0.0256 -0.0461)
OKLCHoklch(25.31% 0.053 299.1)
XYZxyz(1.9282, 1.5281, 3.9340)
Luminance0.0153 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#261C38 #2E381C
analogous
#1C2038 #261C38 #341C38
triadic
#261C38 #38261C #1C3826
tetradic
#261C38 #381C20 #2E381C #1C3834
square
#261C38 #381C20 #2E381C #1C3834
split-complementary
#261C38 #38341C #20381C
monochromatic
#0E0A14 #0E0A14 #261C38 #423061 #5D458A

Accessibility & contrast

On white

16.08
#261C38 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #261C38
16.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##261C38#FFFFFF#000000##FFFFFF
##261C381.0016.081.3116.08
#FFFFFF16.081.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#142139
Deuteranopia (green-blind)
#162137
Tritanopia (blue-blind)
#222127
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #261c38;
/* rgb */ color: rgb(38, 28, 56);
/* oklch */ color: oklch(25.3% 0.053 299.1);
Tailwind
colors: {
  custom: {
    50: '#61586e',
    500: '#261c38',
    950: '#000000',
  },
}
SCSS
$custom: #261c38;
$custom-light: #61586e;
$custom-dark: #000000;
JSON
{
  "hex": "#261c38",
  "rgb": {
    "r": 38,
    "g": 28,
    "b": 56
  },
  "hsl": {
    "h": 261.429,
    "s": 33.333,
    "l": 16.471
  },
  "oklch": {
    "l": 0.2531,
    "c": 0.05276,
    "h": 299.1
  },
  "luminance": 0.01528
}

Semantic roles & 50–950 ramp

primary
#261C38
secondary
#5E6C43
accent
#C95EA3
background
#F5F5F6
surface
#EAE9EC
border
#C6C5C7
text
#050307
muted
#79787A

Preview Lab

Preview with #261C38

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

Preview Lab → · Contrast checker → · Palette generator →

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