#260F48#260F48

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

Color values

HEX#260F48
RGBrgb(38, 15, 72)
HSLhsl(264, 66%, 17%)
HSVhsv(264, 79%, 28%)
CMYKcmyk(47.2%, 79.2%, 0%, 71.8%)
CIE-LABlab(10.72, 26.02, -31.10)
CIE-LCHlch(10.72, 40.55, 309.92°)
OKLaboklab(24.19% 0.0446 -0.0889)
OKLCHoklch(24.19% 0.1 296.7)
XYZxyz(2.1395, 1.2216, 6.2527)
Luminance0.0122 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#260F48 #31480F
analogous
#0F1448 #260F48 #430F48
triadic
#260F48 #48260F #0F4826
tetradic
#260F48 #480F14 #31480F #0F4843
square
#260F48 #480F14 #31480F #0F4843
split-complementary
#260F48 #48430F #14480F
monochromatic
#0D0519 #0D0519 #260F48 #411A7B #5B24AD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##260F48#FFFFFF#000000##FFFFFF
##260F481.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)
#001D4A
Deuteranopia (green-blind)
#001C47
Tritanopia (blue-blind)
#1D1D2A
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #260f48;
/* rgb */ color: rgb(38, 15, 72);
/* oklch */ color: oklch(24.2% 0.100 296.7);
Tailwind
colors: {
  custom: {
    50: '#644f7b',
    500: '#260f48',
    950: '#000000',
  },
}
SCSS
$custom: #260f48;
$custom-light: #644f7b;
$custom-dark: #000000;
JSON
{
  "hex": "#260f48",
  "rgb": {
    "r": 38,
    "g": 15,
    "b": 72
  },
  "hsl": {
    "h": 264.211,
    "s": 65.517,
    "l": 17.059
  },
  "oklch": {
    "l": 0.24186,
    "c": 0.0995,
    "h": 296.7
  },
  "luminance": 0.01222
}

Semantic roles & 50–950 ramp

primary
#260F48
secondary
#618230
accent
#E83FA4
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#060209
muted
#7A787B

Preview Lab

Preview with #260F48

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

Preview Lab → · Contrast checker → · Palette generator →

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