#260F5E#260F5E

#260F5E is a dark, vivid violet. Relative luminance 0.016; OKLCH L 26.5% C 0.128 H 287.3°. Best body text is #FFFFFF at 16.00:1 contrast (WCAG AA passes).

Color values

HEX#260F5E
RGBrgb(38, 15, 94)
HSLhsl(257, 72%, 21%)
HSVhsv(257, 84%, 37%)
CMYKcmyk(59.6%, 84%, 0%, 63.1%)
CIE-LABlab(12.99, 32.86, -42.39)
CIE-LCHlch(12.99, 53.64, 307.78°)
OKLaboklab(26.48% 0.0381 -0.122)
OKLCHoklch(26.48% 0.128 287.3)
XYZxyz(2.9899, 1.5617, 10.7314)
Luminance0.0156 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#260F5E #475E0F
analogous
#0F205E #260F5E #4E0F5E
triadic
#260F5E #5E260F #0F5E26
tetradic
#260F5E #5E0F20 #475E0F #0F5E4E
square
#260F5E #5E0F20 #475E0F #0F5E4E
split-complementary
#260F5E #5E4E0F #205E0F
monochromatic
#0B041A #110729 #260F5E #3B1793 #5120C8

Accessibility & contrast

On white

16.00
#260F5E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #260F5E
16.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##260F5E#FFFFFF#000000##FFFFFF
##260F5E1.0016.001.3116.00
#FFFFFF16.001.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002360
Deuteranopia (green-blind)
#001F5D
Tritanopia (blue-blind)
#0D2636
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #260f5e;
/* rgb */ color: rgb(38, 15, 94);
/* oklch */ color: oklch(26.5% 0.128 287.3);
Tailwind
colors: {
  custom: {
    50: '#68518d',
    500: '#260f5e',
    950: '#000000',
  },
}
SCSS
$custom: #260f5e;
$custom-light: #68518d;
$custom-dark: #000000;
JSON
{
  "hex": "#260f5e",
  "rgb": {
    "r": 38,
    "g": 15,
    "b": 94
  },
  "hsl": {
    "h": 257.468,
    "s": 72.477,
    "l": 21.373
  },
  "oklch": {
    "l": 0.26484,
    "c": 0.12784,
    "h": 287.3
  },
  "luminance": 0.01562
}

Semantic roles & 50–950 ramp

primary
#260F5E
secondary
#7A9731
accent
#EF39BA
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#07020C
muted
#7A787D

Preview Lab

Preview with #260F5E

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

Preview Lab → · Contrast checker → · Palette generator →

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