#260F57#260F57

#260F57 is a dark, moderate violet. Relative luminance 0.014; OKLCH L 25.7% C 0.119 H 289.9°. Best body text is #FFFFFF at 16.30:1 contrast (WCAG AA passes).

Color values

HEX#260F57
RGBrgb(38, 15, 87)
HSLhsl(259, 71%, 20%)
HSVhsv(259, 83%, 34%)
CMYKcmyk(56.3%, 82.8%, 0%, 65.9%)
CIE-LABlab(12.23, 30.68, -38.93)
CIE-LCHlch(12.23, 49.57, 308.24°)
OKLaboklab(25.72% 0.0404 -0.1119)
OKLCHoklch(25.72% 0.119 289.9)
XYZxyz(2.6900, 1.4417, 9.1515)
Luminance0.0144 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#260F57 #40570F
analogous
#0F1C57 #260F57 #4A0F57
triadic
#260F57 #57260F #0F5726
tetradic
#260F57 #570F1C #40570F #0F574A
square
#260F57 #570F1C #40570F #0F574A
split-complementary
#260F57 #574A0F #1C570F
monochromatic
#0B051A #0F0623 #260F57 #3D188B #5421BF

Accessibility & contrast

On white

16.30
#260F57 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.29
#260F57 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #260F57
16.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##260F57#FFFFFF#000000##FFFFFF
##260F571.0016.301.2916.30
#FFFFFF16.301.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002159
Deuteranopia (green-blind)
#001E56
Tritanopia (blue-blind)
#142332
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #260f57;
/* rgb */ color: rgb(38, 15, 87);
/* oklch */ color: oklch(25.7% 0.119 289.9);
Tailwind
colors: {
  custom: {
    50: '#675087',
    500: '#260f57',
    950: '#000000',
  },
}
SCSS
$custom: #260f57;
$custom-light: #675087;
$custom-dark: #000000;
JSON
{
  "hex": "#260f57",
  "rgb": {
    "r": 38,
    "g": 15,
    "b": 87
  },
  "hsl": {
    "h": 259.167,
    "s": 70.588,
    "l": 20
  },
  "oklch": {
    "l": 0.25721,
    "c": 0.11898,
    "h": 289.9
  },
  "luminance": 0.01442
}

Semantic roles & 50–950 ramp

primary
#260F57
secondary
#729131
accent
#ED3AB4
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06020B
muted
#7A787C

Preview Lab

Preview with #260F57

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

Preview Lab → · Contrast checker → · Palette generator →

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