#260B56#260B56

#260B56 is a dark, vivid violet. Relative luminance 0.013; OKLCH L 25.1% C 0.122 H 291.2°. Best body text is #FFFFFF at 16.61:1 contrast (WCAG AA passes).

Color values

HEX#260B56
RGBrgb(38, 11, 86)
HSLhsl(262, 77%, 19%)
HSVhsv(262, 87%, 34%)
CMYKcmyk(55.8%, 87.2%, 0%, 66.3%)
CIE-LABlab(11.44, 32.36, -39.56)
CIE-LCHlch(11.44, 51.11, 309.28°)
OKLaboklab(25.14% 0.044 -0.1137)
OKLCHoklch(25.14% 0.122 291.2)
XYZxyz(2.5982, 1.3232, 8.9208)
Luminance0.0132 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#260B56 #3B560B
analogous
#0B1656 #260B56 #4C0B56
triadic
#260B56 #56260B #0B5626
tetradic
#260B56 #560B16 #3B560B #0B564C
square
#260B56 #560B16 #3B560B #0B564C
split-complementary
#260B56 #564C0B #16560B
monochromatic
#0C031B #0E0420 #260B56 #3E128C #5619C3

Accessibility & contrast

On white

16.61
#260B56 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.26
#260B56 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #260B56
16.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##260B56#FFFFFF#000000##FFFFFF
##260B561.0016.611.2616.61
#FFFFFF16.611.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.611.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #260b56;
/* rgb */ color: rgb(38, 11, 86);
/* oklch */ color: oklch(25.1% 0.122 291.2);
Tailwind
colors: {
  custom: {
    50: '#674e86',
    500: '#260b56',
    950: '#000000',
  },
}
SCSS
$custom: #260b56;
$custom-light: #674e86;
$custom-dark: #000000;
JSON
{
  "hex": "#260b56",
  "rgb": {
    "r": 38,
    "g": 11,
    "b": 86
  },
  "hsl": {
    "h": 261.6,
    "s": 77.32,
    "l": 19.02
  },
  "oklch": {
    "l": 0.25135,
    "c": 0.12192,
    "h": 291.2
  },
  "luminance": 0.01323
}

Semantic roles & 50–950 ramp

primary
#260B56
secondary
#6D912B
accent
#F434AF
background
#F6F4F8
surface
#EBE7EF
border
#C6C3CA
text
#06020B
muted
#7A787C

Preview Lab

Preview with #260B56

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

Preview Lab → · Contrast checker → · Palette generator →

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