#260F54#260F54

#260F54 is a dark, moderate violet. Relative luminance 0.014; OKLCH L 25.4% C 0.115 H 291.1°. Best body text is #FFFFFF at 16.42:1 contrast (WCAG AA passes).

Color values

HEX#260F54
RGBrgb(38, 15, 84)
HSLhsl(260, 70%, 19%)
HSVhsv(260, 82%, 33%)
CMYKcmyk(54.8%, 82.1%, 0%, 67.1%)
CIE-LABlab(11.92, 29.74, -37.41)
CIE-LCHlch(11.92, 47.80, 308.49°)
OKLaboklab(25.4% 0.0414 -0.1074)
OKLCHoklch(25.4% 0.115 291.1)
XYZxyz(2.5699, 1.3937, 8.5194)
Luminance0.0139 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#260F54 #3D540F
analogous
#0F1B54 #260F54 #490F54
triadic
#260F54 #54260F #0F5426
tetradic
#260F54 #540F1B #3D540F #0F5449
square
#260F54 #540F1B #3D540F #0F5449
split-complementary
#260F54 #54490F #1B540F
monochromatic
#0C051A #0F0620 #260F54 #3D1888 #5522BC

Accessibility & contrast

On white

16.42
#260F54 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #260F54
16.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##260F54#FFFFFF#000000##FFFFFF
##260F541.0016.421.2816.42
#FFFFFF16.421.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002056
Deuteranopia (green-blind)
#001E53
Tritanopia (blue-blind)
#162231
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #260f54;
/* rgb */ color: rgb(38, 15, 84);
/* oklch */ color: oklch(25.4% 0.115 291.1);
Tailwind
colors: {
  custom: {
    50: '#665085',
    500: '#260f54',
    950: '#000000',
  },
}
SCSS
$custom: #260f54;
$custom-light: #665085;
$custom-dark: #000000;
JSON
{
  "hex": "#260f54",
  "rgb": {
    "r": 38,
    "g": 15,
    "b": 84
  },
  "hsl": {
    "h": 260,
    "s": 69.697,
    "l": 19.412
  },
  "oklch": {
    "l": 0.25403,
    "c": 0.11514,
    "h": 291.1
  },
  "luminance": 0.01394
}

Semantic roles & 50–950 ramp

primary
#260F54
secondary
#6F8E31
accent
#ED3BB1
background
#F6F4F8
surface
#EBE7EF
border
#C6C3CA
text
#06020B
muted
#7A787C

Preview Lab

Preview with #260F54

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

Preview Lab → · Contrast checker → · Palette generator →

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