#260F6A#260F6A

#260F6A is a dark, vivid violet. Relative luminance 0.018; OKLCH L 27.8% C 0.143 H 283.7°. Best body text is #FFFFFF at 15.45:1 contrast (WCAG AA passes).

Color values

HEX#260F6A
RGBrgb(38, 15, 106)
HSLhsl(255, 75%, 24%)
HSVhsv(255, 86%, 42%)
CMYKcmyk(64.2%, 85.8%, 0%, 58.4%)
CIE-LABlab(14.37, 36.57, -48.08)
CIE-LCHlch(14.37, 60.41, 307.25°)
OKLaboklab(27.84% 0.0338 -0.1386)
OKLCHoklch(27.84% 0.143 283.7)
XYZxyz(3.5709, 1.7941, 13.7910)
Luminance0.0179 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#260F6A #536A0F
analogous
#0F256A #260F6A #530F6A
triadic
#260F6A #6A260F #0F6A26
tetradic
#260F6A #6A0F25 #536A0F #0F6A53
square
#260F6A #6A0F25 #536A0F #0F6A53
split-complementary
#260F6A #6A530F #256A0F
monochromatic
#0A041B #130734 #260F6A #3917A0 #4C1ED5

Accessibility & contrast

On white

15.45
#260F6A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#260F6A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #260F6A
15.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##260F6A#FFFFFF#000000##FFFFFF
##260F6A1.0015.451.3615.45
#FFFFFF15.451.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00276C
Deuteranopia (green-blind)
#002168
Tritanopia (blue-blind)
#002B3D
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #260f6a;
/* rgb */ color: rgb(38, 15, 106);
/* oklch */ color: oklch(27.8% 0.143 283.7);
Tailwind
colors: {
  custom: {
    50: '#6b5296',
    500: '#260f6a',
    950: '#000000',
  },
}
SCSS
$custom: #260f6a;
$custom-light: #6b5296;
$custom-dark: #000000;
JSON
{
  "hex": "#260f6a",
  "rgb": {
    "r": 38,
    "g": 15,
    "b": 106
  },
  "hsl": {
    "h": 255.165,
    "s": 75.207,
    "l": 23.725
  },
  "oklch": {
    "l": 0.27843,
    "c": 0.14269,
    "h": 283.7
  },
  "luminance": 0.01794
}

Semantic roles & 50–950 ramp

primary
#260F6A
secondary
#86A232
accent
#F236C2
background
#F6F4F9
surface
#ECE7F2
border
#C7C3CC
text
#07020D
muted
#7A787E

Preview Lab

Preview with #260F6A

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

Preview Lab → · Contrast checker → · Palette generator →

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