#260941#260941

#260941 is a very dark, moderate violet. Relative luminance 0.010; OKLCH L 22.7% C 0.099 H 302.6°. Best body text is #FFFFFF at 17.53:1 contrast (WCAG AA passes).

Color values

HEX#260941
RGBrgb(38, 9, 65)
HSLhsl(271, 76%, 15%)
HSVhsv(271, 86%, 25%)
CMYKcmyk(41.5%, 86.2%, 0%, 74.5%)
CIE-LABlab(8.90, 27.19, -29.13)
CIE-LCHlch(8.90, 39.85, 313.03°)
OKLaboklab(22.7% 0.0531 -0.0831)
OKLCHoklch(22.7% 0.099 302.6)
XYZxyz(1.8509, 0.9891, 5.0934)
Luminance0.0099 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#260941 #244109
analogous
#0A0941 #260941 #410940
triadic
#260941 #412609 #094126
tetradic
#260941 #410A09 #244109 #094041
square
#260941 #410A09 #244109 #094041
split-complementary
#260941 #404109 #09410A
monochromatic
#10041B #10041B #260941 #451077 #6518AD

Accessibility & contrast

On white

17.53
#260941 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#260941 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #260941
17.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##260941#FFFFFF#000000##FFFFFF
##2609411.0017.531.2017.53
#FFFFFF17.531.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001943
Deuteranopia (green-blind)
#001940
Tritanopia (blue-blind)
#201724
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #260941;
/* rgb */ color: rgb(38, 9, 65);
/* oklch */ color: oklch(22.7% 0.099 302.6);
Tailwind
colors: {
  custom: {
    50: '#644c76',
    500: '#260941',
    950: '#000000',
  },
}
SCSS
$custom: #260941;
$custom-light: #644c76;
$custom-dark: #000000;
JSON
{
  "hex": "#260941",
  "rgb": {
    "r": 38,
    "g": 9,
    "b": 65
  },
  "hsl": {
    "h": 271.071,
    "s": 75.676,
    "l": 14.51
  },
  "oklch": {
    "l": 0.22695,
    "c": 0.09859,
    "h": 302.6
  },
  "luminance": 0.00989
}

Semantic roles & 50–950 ramp

primary
#260941
secondary
#517F27
accent
#F23691
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060108
muted
#7A777B

Preview Lab

Preview with #260941

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

Preview Lab → · Contrast checker → · Palette generator →

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