#260F4A#260F4A

#260F4A is a very dark, moderate violet. Relative luminance 0.012; OKLCH L 24.4% C 0.102 H 295.6°. Best body text is #FFFFFF at 16.81:1 contrast (WCAG AA passes).

Color values

HEX#260F4A
RGBrgb(38, 15, 74)
HSLhsl(263, 66%, 17%)
HSVhsv(263, 80%, 29%)
CMYKcmyk(48.6%, 79.7%, 0%, 71%)
CIE-LABlab(10.91, 26.64, -32.18)
CIE-LCHlch(10.91, 41.78, 309.62°)
OKLaboklab(24.38% 0.0442 -0.0921)
OKLCHoklch(24.38% 0.102 295.6)
XYZxyz(2.2059, 1.2481, 6.6019)
Luminance0.0125 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#260F4A #334A0F
analogous
#0F154A #260F4A #440F4A
triadic
#260F4A #4A260F #0F4A26
tetradic
#260F4A #4A0F15 #334A0F #0F4A44
square
#260F4A #4A0F15 #334A0F #0F4A44
split-complementary
#260F4A #4A440F #154A0F
monochromatic
#0D0519 #0D0519 #260F4A #40197D #5A24B0

Accessibility & contrast

On white

16.81
#260F4A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.25
#260F4A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #260F4A
16.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##260F4A#FFFFFF#000000##FFFFFF
##260F4A1.0016.811.2516.81
#FFFFFF16.811.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E4C
Deuteranopia (green-blind)
#001C49
Tritanopia (blue-blind)
#1C1E2B
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #260f4a;
/* rgb */ color: rgb(38, 15, 74);
/* oklch */ color: oklch(24.4% 0.102 295.6);
Tailwind
colors: {
  custom: {
    50: '#654f7d',
    500: '#260f4a',
    950: '#000000',
  },
}
SCSS
$custom: #260f4a;
$custom-light: #654f7d;
$custom-dark: #000000;
JSON
{
  "hex": "#260f4a",
  "rgb": {
    "r": 38,
    "g": 15,
    "b": 74
  },
  "hsl": {
    "h": 263.39,
    "s": 66.292,
    "l": 17.451
  },
  "oklch": {
    "l": 0.24382,
    "c": 0.10214,
    "h": 295.6
  },
  "luminance": 0.01248
}

Semantic roles & 50–950 ramp

primary
#260F4A
secondary
#648430
accent
#E93FA7
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#06020A
muted
#7A787C

Preview Lab

Preview with #260F4A

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

Preview Lab → · Contrast checker → · Palette generator →

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