#260F5F#260F5F

#260F5F is a dark, vivid violet. Relative luminance 0.016; OKLCH L 26.6% C 0.129 H 287.0°. Best body text is #FFFFFF at 15.96:1 contrast (WCAG AA passes).

Color values

HEX#260F5F
RGBrgb(38, 15, 95)
HSLhsl(257, 73%, 22%)
HSVhsv(257, 84%, 37%)
CMYKcmyk(60%, 84.2%, 0%, 62.7%)
CIE-LABlab(13.11, 33.17, -42.88)
CIE-LCHlch(13.11, 54.21, 307.72°)
OKLaboklab(26.6% 0.0378 -0.1234)
OKLCHoklch(26.6% 0.129 287)
XYZxyz(3.0351, 1.5798, 10.9693)
Luminance0.0158 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#260F5F #485F0F
analogous
#0F205F #260F5F #4E0F5F
triadic
#260F5F #5F260F #0F5F26
tetradic
#260F5F #5F0F20 #485F0F #0F5F4E
square
#260F5F #5F0F20 #485F0F #0F5F4E
split-complementary
#260F5F #5F4E0F #205F0F
monochromatic
#0B041A #11072A #260F5F #3B1794 #5020C9

Accessibility & contrast

On white

15.96
#260F5F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#260F5F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #260F5F
15.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##260F5F#FFFFFF#000000##FFFFFF
##260F5F1.0015.961.3215.96
#FFFFFF15.961.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002461
Deuteranopia (green-blind)
#001F5E
Tritanopia (blue-blind)
#0C2637
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #260f5f;
/* rgb */ color: rgb(38, 15, 95);
/* oklch */ color: oklch(26.6% 0.129 287.0);
Tailwind
colors: {
  custom: {
    50: '#69518d',
    500: '#260f5f',
    950: '#000000',
  },
}
SCSS
$custom: #260f5f;
$custom-light: #69518d;
$custom-dark: #000000;
JSON
{
  "hex": "#260f5f",
  "rgb": {
    "r": 38,
    "g": 15,
    "b": 95
  },
  "hsl": {
    "h": 257.25,
    "s": 72.727,
    "l": 21.569
  },
  "oklch": {
    "l": 0.26595,
    "c": 0.12908,
    "h": 287
  },
  "luminance": 0.0158
}

Semantic roles & 50–950 ramp

primary
#260F5F
secondary
#7B9832
accent
#EF38BB
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#07020C
muted
#7A787D

Preview Lab

Preview with #260F5F

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

Preview Lab → · Contrast checker → · Palette generator →

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