#260440#260440

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

Color values

HEX#260440
RGBrgb(38, 4, 64)
HSLhsl(274, 88%, 13%)
HSVhsv(274, 94%, 25%)
CMYKcmyk(40.6%, 93.8%, 0%, 74.9%)
CIE-LABlab(7.85, 29.67, -30.13)
CIE-LCHlch(7.85, 42.29, 314.56°)
OKLaboklab(21.93% 0.0593 -0.086)
OKLCHoklch(21.93% 0.104 304.6)
XYZxyz(1.7679, 0.8691, 4.9241)
Luminance0.0087 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#260440 #1E4004
analogous
#080440 #260440 #40043C
triadic
#260440 #402604 #044026
tetradic
#260440 #400804 #1E4004 #043C40
square
#260440 #400804 #1E4004 #043C40
split-complementary
#260440 #3C4004 #044008
monochromatic
#11021D #11021D #260440 #48087A #6A0BB3

Accessibility & contrast

On white

17.89
#260440 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.17
#260440 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #260440
17.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##260440#FFFFFF#000000##FFFFFF
##2604401.0017.891.1717.89
#FFFFFF17.891.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001642
Deuteranopia (green-blind)
#00173F
Tritanopia (blue-blind)
#211423
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #260440;
/* rgb */ color: rgb(38, 4, 64);
/* oklch */ color: oklch(21.9% 0.104 304.6);
Tailwind
colors: {
  custom: {
    50: '#644975',
    500: '#260440',
    950: '#000000',
  },
}
SCSS
$custom: #260440;
$custom-light: #644975;
$custom-dark: #000000;
JSON
{
  "hex": "#260440",
  "rgb": {
    "r": 38,
    "g": 4,
    "b": 64
  },
  "hsl": {
    "h": 274,
    "s": 88.235,
    "l": 13.333
  },
  "oklch": {
    "l": 0.21932,
    "c": 0.10444,
    "h": 304.6
  },
  "luminance": 0.00869
}

Semantic roles & 50–950 ramp

primary
#260440
secondary
#49811F
accent
#FE2986
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060108
muted
#7A777B

Preview Lab

Preview with #260440

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

Preview Lab → · Contrast checker → · Palette generator →

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