#260F5A#260F5A

#260F5A is a dark, vivid violet. Relative luminance 0.015; OKLCH L 26.0% C 0.123 H 288.7°. Best body text is #FFFFFF at 16.17:1 contrast (WCAG AA passes).

Color values

HEX#260F5A
RGBrgb(38, 15, 90)
HSLhsl(258, 71%, 21%)
HSVhsv(258, 83%, 35%)
CMYKcmyk(57.8%, 83.3%, 0%, 64.7%)
CIE-LABlab(12.56, 31.61, -40.43)
CIE-LCHlch(12.56, 51.32, 308.03°)
OKLaboklab(26.05% 0.0395 -0.1163)
OKLCHoklch(26.05% 0.123 288.7)
XYZxyz(2.8151, 1.4918, 9.8105)
Luminance0.0149 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#260F5A #435A0F
analogous
#0F1D5A #260F5A #4B0F5A
triadic
#260F5A #5A260F #0F5A26
tetradic
#260F5A #5A0F1D #435A0F #0F5A4B
square
#260F5A #5A0F1D #435A0F #0F5A4B
split-complementary
#260F5A #5A4B0F #1D5A0F
monochromatic
#0B041A #100626 #260F5A #3C188E #5220C3

Accessibility & contrast

On white

16.17
#260F5A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #260F5A
16.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##260F5A#FFFFFF#000000##FFFFFF
##260F5A1.0016.171.3016.17
#FFFFFF16.171.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00225C
Deuteranopia (green-blind)
#001F59
Tritanopia (blue-blind)
#112434
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #260f5a;
/* rgb */ color: rgb(38, 15, 90);
/* oklch */ color: oklch(26.0% 0.123 288.7);
Tailwind
colors: {
  custom: {
    50: '#685089',
    500: '#260f5a',
    950: '#000000',
  },
}
SCSS
$custom: #260f5a;
$custom-light: #685089;
$custom-dark: #000000;
JSON
{
  "hex": "#260f5a",
  "rgb": {
    "r": 38,
    "g": 15,
    "b": 90
  },
  "hsl": {
    "h": 258.4,
    "s": 71.429,
    "l": 20.588
  },
  "oklch": {
    "l": 0.26045,
    "c": 0.12279,
    "h": 288.7
  },
  "luminance": 0.01492
}

Semantic roles & 50–950 ramp

primary
#260F5A
secondary
#759431
accent
#EE3AB7
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#07020C
muted
#7A787D

Preview Lab

Preview with #260F5A

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

Preview Lab → · Contrast checker → · Palette generator →

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