#260F52#260F52

#260F52 is a dark, moderate violet. Relative luminance 0.014; OKLCH L 25.2% C 0.113 H 291.9°. Best body text is #FFFFFF at 16.50:1 contrast (WCAG AA passes).

Color values

HEX#260F52
RGBrgb(38, 15, 82)
HSLhsl(261, 69%, 19%)
HSVhsv(261, 82%, 32%)
CMYKcmyk(53.7%, 81.7%, 0%, 67.8%)
CIE-LABlab(11.71, 29.12, -36.39)
CIE-LCHlch(11.71, 46.61, 308.67°)
OKLaboklab(25.19% 0.042 -0.1044)
OKLCHoklch(25.19% 0.113 291.9)
XYZxyz(2.4927, 1.3628, 8.1127)
Luminance0.0136 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#260F52 #3B520F
analogous
#0F1A52 #260F52 #480F52
triadic
#260F52 #52260F #0F5226
tetradic
#260F52 #520F1A #3B520F #0F5248
square
#260F52 #520F1A #3B520F #0F5248
split-complementary
#260F52 #52480F #1A520F
monochromatic
#0C051A #0E061E #260F52 #3E1886 #5622B9

Accessibility & contrast

On white

16.50
#260F52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #260F52
16.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##260F52#FFFFFF#000000##FFFFFF
##260F521.0016.501.2716.50
#FFFFFF16.501.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002054
Deuteranopia (green-blind)
#001E51
Tritanopia (blue-blind)
#182130
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #260f52;
/* rgb */ color: rgb(38, 15, 82);
/* oklch */ color: oklch(25.2% 0.113 291.9);
Tailwind
colors: {
  custom: {
    50: '#665083',
    500: '#260f52',
    950: '#000000',
  },
}
SCSS
$custom: #260f52;
$custom-light: #665083;
$custom-dark: #000000;
JSON
{
  "hex": "#260f52",
  "rgb": {
    "r": 38,
    "g": 15,
    "b": 82
  },
  "hsl": {
    "h": 260.597,
    "s": 69.072,
    "l": 19.02
  },
  "oklch": {
    "l": 0.25193,
    "c": 0.11257,
    "h": 291.9
  },
  "luminance": 0.01363
}

Semantic roles & 50–950 ramp

primary
#260F52
secondary
#6D8C31
accent
#EC3CAF
background
#F6F4F8
surface
#EBE7EF
border
#C6C3CA
text
#06020B
muted
#7A787C

Preview Lab

Preview with #260F52

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

Preview Lab → · Contrast checker → · Palette generator →

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