#260646#260646

#260646 is a very dark, moderate violet. Relative luminance 0.010; OKLCH L 22.8% C 0.108 H 300.3°. Best body text is #FFFFFF at 17.54:1 contrast (WCAG AA passes).

Color values

HEX#260646
RGBrgb(38, 6, 70)
HSLhsl(270, 84%, 15%)
HSVhsv(270, 91%, 27%)
CMYKcmyk(45.7%, 91.4%, 0%, 72.5%)
CIE-LABlab(8.86, 30.18, -32.73)
CIE-LCHlch(8.86, 44.52, 312.68°)
OKLaboklab(22.83% 0.0546 -0.0936)
OKLCHoklch(22.83% 0.108 300.3)
XYZxyz(1.9697, 0.9845, 5.8794)
Luminance0.0098 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#260646 #264606
analogous
#060646 #260646 #460646
triadic
#260646 #462606 #064626
tetradic
#260646 #460606 #264606 #064646
square
#260646 #460606 #264606 #064646
split-complementary
#260646 #464606 #064606
monochromatic
#0F021C #0F021C #260646 #450B7E #6310B7

Accessibility & contrast

On white

17.54
#260646 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#260646 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #260646
17.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##260646#FFFFFF#000000##FFFFFF
##2606461.0017.541.2017.54
#FFFFFF17.541.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.541.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #260646;
/* rgb */ color: rgb(38, 6, 70);
/* oklch */ color: oklch(22.8% 0.108 300.3);
Tailwind
colors: {
  custom: {
    50: '#654a7a',
    500: '#260646',
    950: '#000000',
  },
}
SCSS
$custom: #260646;
$custom-light: #654a7a;
$custom-dark: #000000;
JSON
{
  "hex": "#260646",
  "rgb": {
    "r": 38,
    "g": 6,
    "b": 70
  },
  "hsl": {
    "h": 270,
    "s": 84.211,
    "l": 14.902
  },
  "oklch": {
    "l": 0.22825,
    "c": 0.10839,
    "h": 300.3
  },
  "luminance": 0.00985
}

Semantic roles & 50–950 ramp

primary
#260646
secondary
#548522
accent
#FA2D94
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060109
muted
#7A777B

Preview Lab

Preview with #260646

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

Preview Lab → · Contrast checker → · Palette generator →

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