#260640#260640

#260640 is a very dark, moderate violet. Relative luminance 0.009; OKLCH L 22.2% C 0.102 H 304.0°. Best body text is #FFFFFF at 17.76:1 contrast (WCAG AA passes).

Color values

HEX#260640
RGBrgb(38, 6, 64)
HSLhsl(273, 83%, 14%)
HSVhsv(273, 91%, 25%)
CMYKcmyk(40.6%, 90.6%, 0%, 74.9%)
CIE-LABlab(8.24, 28.54, -29.50)
CIE-LCHlch(8.24, 41.04, 314.05°)
OKLaboklab(22.2% 0.0568 -0.0841)
OKLCHoklch(22.2% 0.102 304)
XYZxyz(1.7897, 0.9125, 4.9313)
Luminance0.0091 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#260640 #204006
analogous
#090640 #260640 #40063D
triadic
#260640 #402606 #064026
tetradic
#260640 #400906 #204006 #063D40
square
#260640 #400906 #204006 #063D40
split-complementary
#260640 #3D4006 #064009
monochromatic
#11031C #11031C #260640 #470B78 #6810B0

Accessibility & contrast

On white

17.76
#260640 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.18
#260640 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #260640
17.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##260640#FFFFFF#000000##FFFFFF
##2606401.0017.761.1817.76
#FFFFFF17.761.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001742
Deuteranopia (green-blind)
#00183F
Tritanopia (blue-blind)
#211523
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #260640;
/* rgb */ color: rgb(38, 6, 64);
/* oklch */ color: oklch(22.2% 0.102 304.0);
Tailwind
colors: {
  custom: {
    50: '#644a75',
    500: '#260640',
    950: '#000000',
  },
}
SCSS
$custom: #260640;
$custom-light: #644a75;
$custom-dark: #000000;
JSON
{
  "hex": "#260640",
  "rgb": {
    "r": 38,
    "g": 6,
    "b": 64
  },
  "hsl": {
    "h": 273.103,
    "s": 82.857,
    "l": 13.725
  },
  "oklch": {
    "l": 0.22203,
    "c": 0.10154,
    "h": 304
  },
  "luminance": 0.00912
}

Semantic roles & 50–950 ramp

primary
#260640
secondary
#4C8022
accent
#F92F89
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060108
muted
#7A777B

Preview Lab

Preview with #260640

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

Preview Lab → · Contrast checker → · Palette generator →

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