#260F5B#260F5B

#260F5B is a dark, vivid violet. Relative luminance 0.015; OKLCH L 26.2% C 0.124 H 288.4°. Best body text is #FFFFFF at 16.13:1 contrast (WCAG AA passes).

Color values

HEX#260F5B
RGBrgb(38, 15, 91)
HSLhsl(258, 72%, 21%)
HSVhsv(258, 84%, 36%)
CMYKcmyk(58.2%, 83.5%, 0%, 64.3%)
CIE-LABlab(12.66, 31.93, -40.92)
CIE-LCHlch(12.66, 51.90, 307.96°)
OKLaboklab(26.15% 0.0391 -0.1177)
OKLCHoklch(26.15% 0.124 288.4)
XYZxyz(2.8579, 1.5089, 10.0362)
Luminance0.0151 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#260F5B #445B0F
analogous
#0F1E5B #260F5B #4C0F5B
triadic
#260F5B #5B260F #0F5B26
tetradic
#260F5B #5B0F1E #445B0F #0F5B4C
square
#260F5B #5B0F1E #445B0F #0F5B4C
split-complementary
#260F5B #5B4C0F #1E5B0F
monochromatic
#0B041A #100626 #260F5B #3C1890 #5220C4

Accessibility & contrast

On white

16.13
#260F5B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#260F5B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #260F5B
16.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##260F5B#FFFFFF#000000##FFFFFF
##260F5B1.0016.131.3016.13
#FFFFFF16.131.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00225D
Deuteranopia (green-blind)
#001F5A
Tritanopia (blue-blind)
#102535
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #260f5b;
/* rgb */ color: rgb(38, 15, 91);
/* oklch */ color: oklch(26.2% 0.124 288.4);
Tailwind
colors: {
  custom: {
    50: '#68518a',
    500: '#260f5b',
    950: '#000000',
  },
}
SCSS
$custom: #260f5b;
$custom-light: #68518a;
$custom-dark: #000000;
JSON
{
  "hex": "#260f5b",
  "rgb": {
    "r": 38,
    "g": 15,
    "b": 91
  },
  "hsl": {
    "h": 258.158,
    "s": 71.698,
    "l": 20.784
  },
  "oklch": {
    "l": 0.26154,
    "c": 0.12406,
    "h": 288.4
  },
  "luminance": 0.01509
}

Semantic roles & 50–950 ramp

primary
#260F5B
secondary
#769531
accent
#EE39B8
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#07020C
muted
#7A787D

Preview Lab

Preview with #260F5B

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

Preview Lab → · Contrast checker → · Palette generator →

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