#260D4C#260D4C

#260D4C is a very dark, moderate violet. Relative luminance 0.012; OKLCH L 24.3% C 0.107 H 295.2°. Best body text is #FFFFFF at 16.88:1 contrast (WCAG AA passes).

Color values

HEX#260D4C
RGBrgb(38, 13, 76)
HSLhsl(264, 71%, 17%)
HSVhsv(264, 83%, 30%)
CMYKcmyk(50%, 82.9%, 0%, 70.2%)
CIE-LABlab(10.72, 28.35, -33.88)
CIE-LCHlch(10.72, 44.18, 309.93°)
OKLaboklab(24.31% 0.0457 -0.0971)
OKLCHoklch(24.31% 0.107 295.2)
XYZxyz(2.2474, 1.2217, 6.9535)
Luminance0.0122 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#260D4C #334C0D
analogous
#0D134C #260D4C #460D4C
triadic
#260D4C #4C260D #0D4C26
tetradic
#260D4C #4C0D13 #334C0D #0D4C46
square
#260D4C #4C0D13 #334C0D #0D4C46
split-complementary
#260D4C #4C460D #134C0D
monochromatic
#0D041A #0D041A #260D4C #401680 #5A1FB5

Accessibility & contrast

On white

16.88
#260D4C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.24
#260D4C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #260D4C
16.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##260D4C#FFFFFF#000000##FFFFFF
##260D4C1.0016.881.2416.88
#FFFFFF16.881.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001D4E
Deuteranopia (green-blind)
#001C4B
Tritanopia (blue-blind)
#1B1E2C
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #260d4c;
/* rgb */ color: rgb(38, 13, 76);
/* oklch */ color: oklch(24.3% 0.107 295.2);
Tailwind
colors: {
  custom: {
    50: '#654e7f',
    500: '#260d4c',
    950: '#000000',
  },
}
SCSS
$custom: #260d4c;
$custom-light: #654e7f;
$custom-dark: #000000;
JSON
{
  "hex": "#260d4c",
  "rgb": {
    "r": 38,
    "g": 13,
    "b": 76
  },
  "hsl": {
    "h": 263.81,
    "s": 70.787,
    "l": 17.451
  },
  "oklch": {
    "l": 0.24308,
    "c": 0.1073,
    "h": 295.2
  },
  "luminance": 0.01222
}

Semantic roles & 50–950 ramp

primary
#260D4C
secondary
#64872E
accent
#EE3AA6
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#06020A
muted
#7A787C

Preview Lab

Preview with #260D4C

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

Preview Lab → · Contrast checker → · Palette generator →

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