#260F56#260F56

#260F56 is a dark, moderate violet. Relative luminance 0.014; OKLCH L 25.6% C 0.118 H 290.3°. Best body text is #FFFFFF at 16.34:1 contrast (WCAG AA passes).

Color values

HEX#260F56
RGBrgb(38, 15, 86)
HSLhsl(259, 70%, 20%)
HSVhsv(259, 83%, 34%)
CMYKcmyk(55.8%, 82.6%, 0%, 66.3%)
CIE-LABlab(12.13, 30.37, -38.43)
CIE-LCHlch(12.13, 48.98, 308.32°)
OKLaboklab(25.62% 0.0408 -0.1104)
OKLCHoklch(25.62% 0.118 290.3)
XYZxyz(2.6494, 1.4255, 8.9378)
Luminance0.0143 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#260F56 #3F560F
analogous
#0F1B56 #260F56 #4A0F56
triadic
#260F56 #56260F #0F5626
tetradic
#260F56 #560F1B #3F560F #0F564A
square
#260F56 #560F1B #3F560F #0F564A
split-complementary
#260F56 #564A0F #1B560F
monochromatic
#0C051A #0F0622 #260F56 #3D188A #5421BE

Accessibility & contrast

On white

16.34
#260F56 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.29
#260F56 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #260F56
16.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##260F56#FFFFFF#000000##FFFFFF
##260F561.0016.341.2916.34
#FFFFFF16.341.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002158
Deuteranopia (green-blind)
#001E55
Tritanopia (blue-blind)
#152332
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #260f56;
/* rgb */ color: rgb(38, 15, 86);
/* oklch */ color: oklch(25.6% 0.118 290.3);
Tailwind
colors: {
  custom: {
    50: '#675086',
    500: '#260f56',
    950: '#000000',
  },
}
SCSS
$custom: #260f56;
$custom-light: #675086;
$custom-dark: #000000;
JSON
{
  "hex": "#260f56",
  "rgb": {
    "r": 38,
    "g": 15,
    "b": 86
  },
  "hsl": {
    "h": 259.437,
    "s": 70.297,
    "l": 19.804
  },
  "oklch": {
    "l": 0.25615,
    "c": 0.1177,
    "h": 290.3
  },
  "luminance": 0.01426
}

Semantic roles & 50–950 ramp

primary
#260F56
secondary
#719031
accent
#ED3BB3
background
#F6F4F8
surface
#EBE7EF
border
#C6C3CA
text
#06020B
muted
#7A787C

Preview Lab

Preview with #260F56

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

Preview Lab → · Contrast checker → · Palette generator →

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