#260C2F#260C2F

#260C2F is a very dark, moderate purple. Relative luminance 0.009; OKLCH L 21.5% C 0.072 H 316.4°. Best body text is #FFFFFF at 17.86:1 contrast (WCAG AA passes).

Color values

HEX#260C2F
RGBrgb(38, 12, 47)
HSLhsl(285, 59%, 12%)
HSVhsv(285, 74%, 18%)
CMYKcmyk(19.1%, 74.5%, 0%, 81.6%)
CIE-LABlab(7.95, 20.59, -17.61)
CIE-LCHlch(7.95, 27.10, 319.45°)
OKLaboklab(21.53% 0.0518 -0.0493)
OKLCHoklch(21.53% 0.072 316.4)
XYZxyz(1.4438, 0.8803, 2.7826)
Luminance0.0088 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#260C2F #152F0C
analogous
#150C2F #260C2F #2F0C27
triadic
#260C2F #2F260C #0C2F26
tetradic
#260C2F #2F150C #152F0C #0C272F
square
#260C2F #2F150C #152F0C #0C272F
split-complementary
#260C2F #272F0C #0C2F15
monochromatic
#140618 #140618 #260C2F #4D1860 #752591

Accessibility & contrast

On white

17.86
#260C2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.18
#260C2F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #260C2F
17.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##260C2F#FFFFFF#000000##FFFFFF
##260C2F1.0017.861.1817.86
#FFFFFF17.861.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#031630
Deuteranopia (green-blind)
#0C182E
Tritanopia (blue-blind)
#26121B
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #260c2f;
/* rgb */ color: rgb(38, 12, 47);
/* oklch */ color: oklch(21.5% 0.072 316.4);
Tailwind
colors: {
  custom: {
    50: '#624c67',
    500: '#260c2f',
    950: '#000000',
  },
}
SCSS
$custom: #260c2f;
$custom-light: #624c67;
$custom-dark: #000000;
JSON
{
  "hex": "#260c2f",
  "rgb": {
    "r": 38,
    "g": 12,
    "b": 47
  },
  "hsl": {
    "h": 284.571,
    "s": 59.322,
    "l": 11.569
  },
  "oklch": {
    "l": 0.21532,
    "c": 0.07155,
    "h": 316.4
  },
  "luminance": 0.0088
}

Semantic roles & 50–950 ramp

primary
#260C2F
secondary
#3C6B2C
accent
#E3456E
background
#F5F4F6
surface
#EAE7EB
border
#C6C3C6
text
#050106
muted
#79777A

Preview Lab

Preview with #260C2F

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

Preview Lab → · Contrast checker → · Palette generator →

#260C2F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva