#260F51#260F51

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

Color values

HEX#260F51
RGBrgb(38, 15, 81)
HSLhsl(261, 69%, 19%)
HSVhsv(261, 81%, 32%)
CMYKcmyk(53.1%, 81.5%, 0%, 68.2%)
CIE-LABlab(11.61, 28.81, -35.87)
CIE-LCHlch(11.61, 46.01, 308.77°)
OKLaboklab(25.09% 0.0423 -0.1029)
OKLCHoklch(25.09% 0.111 292.3)
XYZxyz(2.4549, 1.3477, 7.9138)
Luminance0.0135 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#260F51 #3A510F
analogous
#0F1951 #260F51 #470F51
triadic
#260F51 #51260F #0F5126
tetradic
#260F51 #510F19 #3A510F #0F5147
square
#260F51 #510F19 #3A510F #0F5147
split-complementary
#260F51 #51470F #19510F
monochromatic
#0C051A #0E051D #260F51 #3E1985 #5622B8

Accessibility & contrast

On white

16.54
#260F51 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #260F51
16.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##260F51#FFFFFF#000000##FFFFFF
##260F511.0016.541.2716.54
#FFFFFF16.541.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002053
Deuteranopia (green-blind)
#001D50
Tritanopia (blue-blind)
#18212F
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #260f51;
/* rgb */ color: rgb(38, 15, 81);
/* oklch */ color: oklch(25.1% 0.111 292.3);
Tailwind
colors: {
  custom: {
    50: '#665083',
    500: '#260f51',
    950: '#000000',
  },
}
SCSS
$custom: #260f51;
$custom-light: #665083;
$custom-dark: #000000;
JSON
{
  "hex": "#260f51",
  "rgb": {
    "r": 38,
    "g": 15,
    "b": 81
  },
  "hsl": {
    "h": 260.909,
    "s": 68.75,
    "l": 18.824
  },
  "oklch": {
    "l": 0.2509,
    "c": 0.11127,
    "h": 292.3
  },
  "luminance": 0.01348
}

Semantic roles & 50–950 ramp

primary
#260F51
secondary
#6C8B31
accent
#EC3CAE
background
#F6F4F8
surface
#EBE7EF
border
#C6C3CA
text
#06020A
muted
#7A787C

Preview Lab

Preview with #260F51

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

Preview Lab → · Contrast checker → · Palette generator →

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