#260D48#260D48

#260D48 is a very dark, moderate violet. Relative luminance 0.012; OKLCH L 23.9% C 0.102 H 297.3°. Best body text is #FFFFFF at 17.02:1 contrast (WCAG AA passes).

Color values

HEX#260D48
RGBrgb(38, 13, 72)
HSLhsl(265, 69%, 17%)
HSVhsv(265, 82%, 28%)
CMYKcmyk(47.2%, 81.9%, 0%, 71.8%)
CIE-LABlab(10.32, 27.14, -31.75)
CIE-LCHlch(10.32, 41.77, 310.53°)
OKLaboklab(23.9% 0.0468 -0.0908)
OKLCHoklch(23.9% 0.102 297.3)
XYZxyz(2.1126, 1.1678, 6.2437)
Luminance0.0117 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#260D48 #2F480D
analogous
#0D1148 #260D48 #440D48
triadic
#260D48 #48260D #0D4826
tetradic
#260D48 #480D11 #2F480D #0D4844
square
#260D48 #480D11 #2F480D #0D4844
split-complementary
#260D48 #48440D #11480D
monochromatic
#0E051A #0E051A #260D48 #41167C #5D20B0

Accessibility & contrast

On white

17.02
#260D48 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.23
#260D48 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #260D48
17.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##260D48#FFFFFF#000000##FFFFFF
##260D481.0017.021.2317.02
#FFFFFF17.021.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001C4A
Deuteranopia (green-blind)
#001B47
Tritanopia (blue-blind)
#1D1C29
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #260d48;
/* rgb */ color: rgb(38, 13, 72);
/* oklch */ color: oklch(23.9% 0.102 297.3);
Tailwind
colors: {
  custom: {
    50: '#644e7c',
    500: '#260d48',
    950: '#000000',
  },
}
SCSS
$custom: #260d48;
$custom-light: #644e7c;
$custom-dark: #000000;
JSON
{
  "hex": "#260d48",
  "rgb": {
    "r": 38,
    "g": 13,
    "b": 72
  },
  "hsl": {
    "h": 265.424,
    "s": 69.412,
    "l": 16.667
  },
  "oklch": {
    "l": 0.23904,
    "c": 0.10219,
    "h": 297.3
  },
  "luminance": 0.01168
}

Semantic roles & 50–950 ramp

primary
#260D48
secondary
#5F832D
accent
#EC3CA1
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#060209
muted
#7A787B

Preview Lab

Preview with #260D48

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

Preview Lab → · Contrast checker → · Palette generator →

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