#260C3A#260C3A

#260C3A is a very dark, moderate violet. Relative luminance 0.010; OKLCH L 22.4% C 0.086 H 306.6°. Best body text is #FFFFFF at 17.56:1 contrast (WCAG AA passes).

Color values

HEX#260C3A
RGBrgb(38, 12, 58)
HSLhsl(274, 66%, 14%)
HSVhsv(274, 79%, 23%)
CMYKcmyk(34.5%, 79.3%, 0%, 77.3%)
CIE-LABlab(8.83, 23.60, -24.24)
CIE-LCHlch(8.83, 33.83, 314.23°)
OKLaboklab(22.44% 0.051 -0.0687)
OKLCHoklch(22.44% 0.086 306.6)
XYZxyz(1.6944, 0.9805, 4.1022)
Luminance0.0098 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#260C3A #203A0C
analogous
#0F0C3A #260C3A #3A0C37
triadic
#260C3A #3A260C #0C3A26
tetradic
#260C3A #3A0F0C #203A0C #0C373A
square
#260C3A #3A0F0C #203A0C #0C373A
split-complementary
#260C3A #373A0C #0C3A0F
monochromatic
#110519 #110519 #260C3A #47166D #68219F

Accessibility & contrast

On white

17.56
#260C3A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#260C3A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #260C3A
17.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##260C3A#FFFFFF#000000##FFFFFF
##260C3A1.0017.561.2017.56
#FFFFFF17.561.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00183B
Deuteranopia (green-blind)
#021939
Tritanopia (blue-blind)
#231621
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #260c3a;
/* rgb */ color: rgb(38, 12, 58);
/* oklch */ color: oklch(22.4% 0.086 306.6);
Tailwind
colors: {
  custom: {
    50: '#634d70',
    500: '#260c3a',
    950: '#000000',
  },
}
SCSS
$custom: #260c3a;
$custom-light: #634d70;
$custom-dark: #000000;
JSON
{
  "hex": "#260c3a",
  "rgb": {
    "r": 38,
    "g": 12,
    "b": 58
  },
  "hsl": {
    "h": 273.913,
    "s": 65.714,
    "l": 13.725
  },
  "oklch": {
    "l": 0.22443,
    "c": 0.08563,
    "h": 306.6
  },
  "luminance": 0.00981
}

Semantic roles & 50–950 ramp

primary
#260C3A
secondary
#4C762C
accent
#E93F89
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#050107
muted
#7A777A

Preview Lab

Preview with #260C3A

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

Preview Lab → · Contrast checker → · Palette generator →

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