#260F5D#260F5D

#260F5D is a dark, vivid violet. Relative luminance 0.015; OKLCH L 26.4% C 0.127 H 287.7°. Best body text is #FFFFFF at 16.05:1 contrast (WCAG AA passes).

Color values

HEX#260F5D
RGBrgb(38, 15, 93)
HSLhsl(258, 72%, 21%)
HSVhsv(258, 84%, 36%)
CMYKcmyk(59.1%, 83.9%, 0%, 63.5%)
CIE-LABlab(12.88, 32.55, -41.90)
CIE-LCHlch(12.88, 53.06, 307.84°)
OKLaboklab(26.37% 0.0384 -0.1206)
OKLCHoklch(26.37% 0.127 287.7)
XYZxyz(2.9454, 1.5439, 10.4966)
Luminance0.0154 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#260F5D #465D0F
analogous
#0F1F5D #260F5D #4D0F5D
triadic
#260F5D #5D260F #0F5D26
tetradic
#260F5D #5D0F1F #465D0F #0F5D4D
square
#260F5D #5D0F1F #465D0F #0F5D4D
split-complementary
#260F5D #5D4D0F #1F5D0F
monochromatic
#0B041A #100628 #260F5D #3C1792 #5120C6

Accessibility & contrast

On white

16.05
#260F5D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#260F5D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #260F5D
16.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##260F5D#FFFFFF#000000##FFFFFF
##260F5D1.0016.051.3116.05
#FFFFFF16.051.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00235F
Deuteranopia (green-blind)
#001F5C
Tritanopia (blue-blind)
#0E2636
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #260f5d;
/* rgb */ color: rgb(38, 15, 93);
/* oklch */ color: oklch(26.4% 0.127 287.7);
Tailwind
colors: {
  custom: {
    50: '#68518c',
    500: '#260f5d',
    950: '#000000',
  },
}
SCSS
$custom: #260f5d;
$custom-light: #68518c;
$custom-dark: #000000;
JSON
{
  "hex": "#260f5d",
  "rgb": {
    "r": 38,
    "g": 15,
    "b": 93
  },
  "hsl": {
    "h": 257.692,
    "s": 72.222,
    "l": 21.176
  },
  "oklch": {
    "l": 0.26373,
    "c": 0.12658,
    "h": 287.7
  },
  "luminance": 0.01544
}

Semantic roles & 50–950 ramp

primary
#260F5D
secondary
#799631
accent
#EF39B9
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#07020C
muted
#7A787D

Preview Lab

Preview with #260F5D

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

Preview Lab → · Contrast checker → · Palette generator →

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