#260F4F#260F4F

#260F4F is a very dark, moderate violet. Relative luminance 0.013; OKLCH L 24.9% C 0.109 H 293.2°. Best body text is #FFFFFF at 16.62:1 contrast (WCAG AA passes).

Color values

HEX#260F4F
RGBrgb(38, 15, 79)
HSLhsl(262, 68%, 18%)
HSVhsv(262, 81%, 31%)
CMYKcmyk(51.9%, 81%, 0%, 69%)
CIE-LABlab(11.40, 28.19, -34.83)
CIE-LCHlch(11.40, 44.81, 308.98°)
OKLaboklab(24.88% 0.0428 -0.0999)
OKLCHoklch(24.88% 0.109 293.2)
XYZxyz(2.3810, 1.3182, 7.5246)
Luminance0.0132 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#260F4F #384F0F
analogous
#0F184F #260F4F #460F4F
triadic
#260F4F #4F260F #0F4F26
tetradic
#260F4F #4F0F18 #384F0F #0F4F46
square
#260F4F #4F0F18 #384F0F #0F4F46
split-complementary
#260F4F #4F460F #184F0F
monochromatic
#0C051A #0D051C #260F4F #3F1982 #5723B6

Accessibility & contrast

On white

16.62
#260F4F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.26
#260F4F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #260F4F
16.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##260F4F#FFFFFF#000000##FFFFFF
##260F4F1.0016.621.2616.62
#FFFFFF16.621.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001F51
Deuteranopia (green-blind)
#001D4E
Tritanopia (blue-blind)
#19202E
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #260f4f;
/* rgb */ color: rgb(38, 15, 79);
/* oklch */ color: oklch(24.9% 0.109 293.2);
Tailwind
colors: {
  custom: {
    50: '#655081',
    500: '#260f4f',
    950: '#000000',
  },
}
SCSS
$custom: #260f4f;
$custom-light: #655081;
$custom-dark: #000000;
JSON
{
  "hex": "#260f4f",
  "rgb": {
    "r": 38,
    "g": 15,
    "b": 79
  },
  "hsl": {
    "h": 261.563,
    "s": 68.085,
    "l": 18.431
  },
  "oklch": {
    "l": 0.24884,
    "c": 0.10868,
    "h": 293.2
  },
  "luminance": 0.01318
}

Semantic roles & 50–950 ramp

primary
#260F4F
secondary
#698931
accent
#EB3DAC
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#06020A
muted
#7A787C

Preview Lab

Preview with #260F4F

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

Preview Lab → · Contrast checker → · Palette generator →

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