#260D52#260D52

#260D52 is a very dark, moderate violet. Relative luminance 0.013; OKLCH L 24.9% C 0.115 H 292.4°. Best body text is #FFFFFF at 16.64:1 contrast (WCAG AA passes).

Color values

HEX#260D52
RGBrgb(38, 13, 82)
HSLhsl(262, 73%, 19%)
HSVhsv(262, 84%, 32%)
CMYKcmyk(53.7%, 84.1%, 0%, 67.8%)
CIE-LABlab(11.34, 30.18, -36.99)
CIE-LCHlch(11.34, 47.74, 309.21°)
OKLaboklab(24.94% 0.0438 -0.1062)
OKLCHoklch(24.94% 0.115 292.4)
XYZxyz(2.4658, 1.3090, 8.1038)
Luminance0.0131 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#260D52 #39520D
analogous
#0D1652 #260D52 #480D52
triadic
#260D52 #52260D #0D5226
tetradic
#260D52 #520D16 #39520D #0D5248
square
#260D52 #520D16 #39520D #0D5248
split-complementary
#260D52 #52480D #16520D
monochromatic
#0C041A #0E051D #260D52 #3E1587 #571EBC

Accessibility & contrast

On white

16.64
#260D52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #260D52
16.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##260D52#FFFFFF#000000##FFFFFF
##260D521.0016.641.2616.64
#FFFFFF16.641.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001F54
Deuteranopia (green-blind)
#001D51
Tritanopia (blue-blind)
#18202F
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #260d52;
/* rgb */ color: rgb(38, 13, 82);
/* oklch */ color: oklch(24.9% 0.115 292.4);
Tailwind
colors: {
  custom: {
    50: '#664f83',
    500: '#260d52',
    950: '#000000',
  },
}
SCSS
$custom: #260d52;
$custom-light: #664f83;
$custom-dark: #000000;
JSON
{
  "hex": "#260d52",
  "rgb": {
    "r": 38,
    "g": 13,
    "b": 82
  },
  "hsl": {
    "h": 261.739,
    "s": 72.632,
    "l": 18.627
  },
  "oklch": {
    "l": 0.24935,
    "c": 0.11488,
    "h": 292.4
  },
  "luminance": 0.01309
}

Semantic roles & 50–950 ramp

primary
#260D52
secondary
#6A8D2E
accent
#EF38AD
background
#F6F4F8
surface
#EBE7EF
border
#C6C3CA
text
#06020B
muted
#7A787C

Preview Lab

Preview with #260D52

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

Preview Lab → · Contrast checker → · Palette generator →

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