#260C55#260C55

#260C55 is a dark, moderate violet. Relative luminance 0.013; OKLCH L 25.1% C 0.120 H 291.4°. Best body text is #FFFFFF at 16.59:1 contrast (WCAG AA passes).

Color values

HEX#260C55
RGBrgb(38, 12, 85)
HSLhsl(261, 75%, 19%)
HSVhsv(261, 86%, 33%)
CMYKcmyk(55.3%, 85.9%, 0%, 66.7%)
CIE-LABlab(11.49, 31.58, -38.79)
CIE-LCHlch(11.49, 50.03, 309.15°)
OKLaboklab(25.14% 0.0436 -0.1115)
OKLCHoklch(25.14% 0.12 291.4)
XYZxyz(2.5700, 1.3308, 8.7140)
Luminance0.0133 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#260C55 #3B550C
analogous
#0C1755 #260C55 #4B0C55
triadic
#260C55 #55260C #0C5526
tetradic
#260C55 #550C17 #3B550C #0C554B
square
#260C55 #550C17 #3B550C #0C554B
split-complementary
#260C55 #554B0C #17550C
monochromatic
#0C041B #0E041F #260C55 #3E148B #561BC0

Accessibility & contrast

On white

16.59
#260C55 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.27
#260C55 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #260C55
16.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##260C55#FFFFFF#000000##FFFFFF
##260C551.0016.591.2716.59
#FFFFFF16.591.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002057
Deuteranopia (green-blind)
#001D54
Tritanopia (blue-blind)
#162131
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #260c55;
/* rgb */ color: rgb(38, 12, 85);
/* oklch */ color: oklch(25.1% 0.120 291.4);
Tailwind
colors: {
  custom: {
    50: '#674f86',
    500: '#260c55',
    950: '#000000',
  },
}
SCSS
$custom: #260c55;
$custom-light: #674f86;
$custom-dark: #000000;
JSON
{
  "hex": "#260c55",
  "rgb": {
    "r": 38,
    "g": 12,
    "b": 85
  },
  "hsl": {
    "h": 261.37,
    "s": 75.258,
    "l": 19.02
  },
  "oklch": {
    "l": 0.25138,
    "c": 0.1197,
    "h": 291.4
  },
  "luminance": 0.01331
}

Semantic roles & 50–950 ramp

primary
#260C55
secondary
#6D902D
accent
#F236AF
background
#F6F4F8
surface
#EBE7EF
border
#C6C3CA
text
#06020B
muted
#7A787C

Preview Lab

Preview with #260C55

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

Preview Lab → · Contrast checker → · Palette generator →

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