#260F55#260F55

#260F55 is a dark, moderate violet. Relative luminance 0.014; OKLCH L 25.5% C 0.116 H 290.7°. Best body text is #FFFFFF at 16.38:1 contrast (WCAG AA passes).

Color values

HEX#260F55
RGBrgb(38, 15, 85)
HSLhsl(260, 70%, 20%)
HSVhsv(260, 82%, 33%)
CMYKcmyk(55.3%, 82.4%, 0%, 66.7%)
CIE-LABlab(12.02, 30.06, -37.92)
CIE-LCHlch(12.02, 48.39, 308.40°)
OKLaboklab(25.51% 0.0411 -0.1089)
OKLCHoklch(25.51% 0.116 290.7)
XYZxyz(2.6094, 1.4095, 8.7271)
Luminance0.0141 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#260F55 #3E550F
analogous
#0F1B55 #260F55 #490F55
triadic
#260F55 #55260F #0F5526
tetradic
#260F55 #550F1B #3E550F #0F5549
square
#260F55 #550F1B #3E550F #0F5549
split-complementary
#260F55 #55490F #1B550F
monochromatic
#0C051A #0F0621 #260F55 #3D1889 #5521BD

Accessibility & contrast

On white

16.38
#260F55 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.28
#260F55 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #260F55
16.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##260F55#FFFFFF#000000##FFFFFF
##260F551.0016.381.2816.38
#FFFFFF16.381.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002157
Deuteranopia (green-blind)
#001E54
Tritanopia (blue-blind)
#152231
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #260f55;
/* rgb */ color: rgb(38, 15, 85);
/* oklch */ color: oklch(25.5% 0.116 290.7);
Tailwind
colors: {
  custom: {
    50: '#675086',
    500: '#260f55',
    950: '#000000',
  },
}
SCSS
$custom: #260f55;
$custom-light: #675086;
$custom-dark: #000000;
JSON
{
  "hex": "#260f55",
  "rgb": {
    "r": 38,
    "g": 15,
    "b": 85
  },
  "hsl": {
    "h": 259.714,
    "s": 70,
    "l": 19.608
  },
  "oklch": {
    "l": 0.25508,
    "c": 0.11642,
    "h": 290.7
  },
  "luminance": 0.0141
}

Semantic roles & 50–950 ramp

primary
#260F55
secondary
#708F31
accent
#ED3BB2
background
#F6F4F8
surface
#EBE7EF
border
#C6C3CA
text
#06020B
muted
#7A787C

Preview Lab

Preview with #260F55

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

Preview Lab → · Contrast checker → · Palette generator →

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