#260D56#260D56

#260D56 is a dark, moderate violet. Relative luminance 0.014; OKLCH L 25.4% C 0.120 H 290.7°. Best body text is #FFFFFF at 16.48:1 contrast (WCAG AA passes).

Color values

HEX#260D56
RGBrgb(38, 13, 86)
HSLhsl(261, 74%, 19%)
HSVhsv(261, 85%, 34%)
CMYKcmyk(55.8%, 84.9%, 0%, 66.3%)
CIE-LABlab(11.77, 31.40, -39.02)
CIE-LCHlch(11.77, 50.08, 308.83°)
OKLaboklab(25.36% 0.0424 -0.1121)
OKLCHoklch(25.36% 0.12 290.7)
XYZxyz(2.6225, 1.3717, 8.9289)
Luminance0.0137 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#260D56 #3D560D
analogous
#0D1956 #260D56 #4B0D56
triadic
#260D56 #56260D #0D5626
tetradic
#260D56 #560D19 #3D560D #0D564B
square
#260D56 #560D19 #3D560D #0D564B
split-complementary
#260D56 #564B0D #19560D
monochromatic
#0C041B #0F0521 #260D56 #3D158B #551DC0

Accessibility & contrast

On white

16.48
#260D56 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.27
#260D56 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #260D56
16.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##260D56#FFFFFF#000000##FFFFFF
##260D561.0016.481.2716.48
#FFFFFF16.481.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002058
Deuteranopia (green-blind)
#001D55
Tritanopia (blue-blind)
#152231
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #260d56;
/* rgb */ color: rgb(38, 13, 86);
/* oklch */ color: oklch(25.4% 0.120 290.7);
Tailwind
colors: {
  custom: {
    50: '#674f86',
    500: '#260d56',
    950: '#000000',
  },
}
SCSS
$custom: #260d56;
$custom-light: #674f86;
$custom-dark: #000000;
JSON
{
  "hex": "#260d56",
  "rgb": {
    "r": 38,
    "g": 13,
    "b": 86
  },
  "hsl": {
    "h": 260.548,
    "s": 73.737,
    "l": 19.412
  },
  "oklch": {
    "l": 0.25364,
    "c": 0.11989,
    "h": 290.7
  },
  "luminance": 0.01372
}

Semantic roles & 50–950 ramp

primary
#260D56
secondary
#6F912E
accent
#F037B1
background
#F6F4F8
surface
#EBE7EF
border
#C6C3CA
text
#06020B
muted
#7A787C

Preview Lab

Preview with #260D56

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

Preview Lab → · Contrast checker → · Palette generator →

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