#260F5C#260F5C

#260F5C is a dark, vivid violet. Relative luminance 0.015; OKLCH L 26.3% C 0.125 H 288.0°. Best body text is #FFFFFF at 16.09:1 contrast (WCAG AA passes).

Color values

HEX#260F5C
RGBrgb(38, 15, 92)
HSLhsl(258, 72%, 21%)
HSVhsv(258, 84%, 36%)
CMYKcmyk(58.7%, 83.7%, 0%, 63.9%)
CIE-LABlab(12.77, 32.24, -41.41)
CIE-LCHlch(12.77, 52.48, 307.90°)
OKLaboklab(26.26% 0.0388 -0.1192)
OKLCHoklch(26.26% 0.125 288)
XYZxyz(2.9013, 1.5263, 10.2649)
Luminance0.0153 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#260F5C #455C0F
analogous
#0F1E5C #260F5C #4C0F5C
triadic
#260F5C #5C260F #0F5C26
tetradic
#260F5C #5C0F1E #455C0F #0F5C4C
square
#260F5C #5C0F1E #455C0F #0F5C4C
split-complementary
#260F5C #5C4C0F #1E5C0F
monochromatic
#0B041A #100627 #260F5C #3C1891 #5120C5

Accessibility & contrast

On white

16.09
#260F5C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #260F5C
16.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##260F5C#FFFFFF#000000##FFFFFF
##260F5C1.0016.091.3116.09
#FFFFFF16.091.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00235E
Deuteranopia (green-blind)
#001F5B
Tritanopia (blue-blind)
#0F2535
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #260f5c;
/* rgb */ color: rgb(38, 15, 92);
/* oklch */ color: oklch(26.3% 0.125 288.0);
Tailwind
colors: {
  custom: {
    50: '#68518b',
    500: '#260f5c',
    950: '#000000',
  },
}
SCSS
$custom: #260f5c;
$custom-light: #68518b;
$custom-dark: #000000;
JSON
{
  "hex": "#260f5c",
  "rgb": {
    "r": 38,
    "g": 15,
    "b": 92
  },
  "hsl": {
    "h": 257.922,
    "s": 71.963,
    "l": 20.98
  },
  "oklch": {
    "l": 0.26263,
    "c": 0.12532,
    "h": 288
  },
  "luminance": 0.01526
}

Semantic roles & 50–950 ramp

primary
#260F5C
secondary
#789531
accent
#EF39B8
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#07020C
muted
#7A787D

Preview Lab

Preview with #260F5C

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

Preview Lab → · Contrast checker → · Palette generator →

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