#260546#260546

#260546 is a very dark, moderate violet. Relative luminance 0.010; OKLCH L 22.7% C 0.110 H 300.5°. Best body text is #FFFFFF at 17.61:1 contrast (WCAG AA passes).

Color values

HEX#260546
RGBrgb(38, 5, 70)
HSLhsl(270, 87%, 15%)
HSVhsv(270, 93%, 27%)
CMYKcmyk(45.7%, 92.9%, 0%, 72.5%)
CIE-LABlab(8.68, 30.72, -33.03)
CIE-LCHlch(8.68, 45.10, 312.92°)
OKLaboklab(22.7% 0.0557 -0.0945)
OKLCHoklch(22.7% 0.11 300.5)
XYZxyz(1.9588, 0.9628, 5.8758)
Luminance0.0096 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#260546 #254605
analogous
#060546 #260546 #460546
triadic
#260546 #462605 #054626
tetradic
#260546 #460605 #254605 #054646
square
#260546 #460605 #254605 #054646
split-complementary
#260546 #464605 #054606
monochromatic
#10021D #10021D #260546 #45097F #640DB8

Accessibility & contrast

On white

17.61
#260546 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.19
#260546 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #260546
17.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##260546#FFFFFF#000000##FFFFFF
##2605461.0017.611.1917.61
#FFFFFF17.611.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001948
Deuteranopia (green-blind)
#001845
Tritanopia (blue-blind)
#1E1826
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #260546;
/* rgb */ color: rgb(38, 5, 70);
/* oklch */ color: oklch(22.7% 0.110 300.5);
Tailwind
colors: {
  custom: {
    50: '#654a7a',
    500: '#260546',
    950: '#000000',
  },
}
SCSS
$custom: #260546;
$custom-light: #654a7a;
$custom-dark: #000000;
JSON
{
  "hex": "#260546",
  "rgb": {
    "r": 38,
    "g": 5,
    "b": 70
  },
  "hsl": {
    "h": 270.462,
    "s": 86.667,
    "l": 14.706
  },
  "oklch": {
    "l": 0.22698,
    "c": 0.10968,
    "h": 300.5
  },
  "luminance": 0.00963
}

Semantic roles & 50–950 ramp

primary
#260546
secondary
#538621
accent
#FD2B92
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060109
muted
#7A777B

Preview Lab

Preview with #260546

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

Preview Lab → · Contrast checker → · Palette generator →

#260546 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva