#260541#260541

#260541 is a very dark, moderate violet. Relative luminance 0.009; OKLCH L 22.2% C 0.104 H 303.6°. Best body text is #FFFFFF at 17.79:1 contrast (WCAG AA passes).

Color values

HEX#260541
RGBrgb(38, 5, 65)
HSLhsl(273, 86%, 14%)
HSVhsv(273, 92%, 25%)
CMYKcmyk(41.5%, 92.3%, 0%, 74.5%)
CIE-LABlab(8.15, 29.37, -30.36)
CIE-LCHlch(8.15, 42.24, 314.05°)
OKLaboklab(22.17% 0.0577 -0.0867)
OKLCHoklch(22.17% 0.104 303.6)
XYZxyz(1.8075, 0.9023, 5.0789)
Luminance0.0090 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#260541 #204105
analogous
#080541 #260541 #41053E
triadic
#260541 #412605 #054126
tetradic
#260541 #410805 #204105 #053E41
square
#260541 #410805 #204105 #053E41
split-complementary
#260541 #3E4105 #054108
monochromatic
#11021C #11021C #260541 #47097A #680EB3

Accessibility & contrast

On white

17.79
#260541 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.18
#260541 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #260541
17.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##260541#FFFFFF#000000##FFFFFF
##2605411.0017.791.1817.79
#FFFFFF17.791.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001743
Deuteranopia (green-blind)
#001840
Tritanopia (blue-blind)
#201523
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #260541;
/* rgb */ color: rgb(38, 5, 65);
/* oklch */ color: oklch(22.2% 0.104 303.6);
Tailwind
colors: {
  custom: {
    50: '#644976',
    500: '#260541',
    950: '#000000',
  },
}
SCSS
$custom: #260541;
$custom-light: #644976;
$custom-dark: #000000;
JSON
{
  "hex": "#260541",
  "rgb": {
    "r": 38,
    "g": 5,
    "b": 65
  },
  "hsl": {
    "h": 273,
    "s": 85.714,
    "l": 13.725
  },
  "oklch": {
    "l": 0.22171,
    "c": 0.1041,
    "h": 303.6
  },
  "luminance": 0.00902
}

Semantic roles & 50–950 ramp

primary
#260541
secondary
#4C8120
accent
#FC2C89
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060108
muted
#7A777B

Preview Lab

Preview with #260541

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

Preview Lab → · Contrast checker → · Palette generator →

#260541 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva