#260A40#260A40

#260A40 is a very dark, moderate violet. Relative luminance 0.010; OKLCH L 22.7% C 0.096 H 302.9°. Best body text is #FFFFFF at 17.50:1 contrast (WCAG AA passes).

Color values

HEX#260A40
RGBrgb(38, 10, 64)
HSLhsl(271, 73%, 15%)
HSVhsv(271, 84%, 25%)
CMYKcmyk(40.6%, 84.4%, 0%, 74.9%)
CIE-LABlab(8.99, 26.39, -28.28)
CIE-LCHlch(8.99, 38.68, 313.02°)
OKLaboklab(22.73% 0.0522 -0.0806)
OKLCHoklch(22.73% 0.096 302.9)
XYZxyz(1.8331, 0.9993, 4.9458)
Luminance0.0100 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#260A40 #24400A
analogous
#0B0A40 #260A40 #400A3F
triadic
#260A40 #40260A #0A4026
tetradic
#260A40 #400B0A #24400A #0A3F40
square
#260A40 #400B0A #24400A #0A3F40
split-complementary
#260A40 #3F400A #0A400B
monochromatic
#10041A #10041A #260A40 #451275 #651BAA

Accessibility & contrast

On white

17.50
#260A40 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#260A40 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #260A40
17.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##260A40#FFFFFF#000000##FFFFFF
##260A401.0017.501.2017.50
#FFFFFF17.501.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001942
Deuteranopia (green-blind)
#00193F
Tritanopia (blue-blind)
#211824
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #260a40;
/* rgb */ color: rgb(38, 10, 64);
/* oklch */ color: oklch(22.7% 0.096 302.9);
Tailwind
colors: {
  custom: {
    50: '#644c75',
    500: '#260a40',
    950: '#000000',
  },
}
SCSS
$custom: #260a40;
$custom-light: #644c75;
$custom-dark: #000000;
JSON
{
  "hex": "#260a40",
  "rgb": {
    "r": 38,
    "g": 10,
    "b": 64
  },
  "hsl": {
    "h": 271.111,
    "s": 72.973,
    "l": 14.51
  },
  "oklch": {
    "l": 0.22725,
    "c": 0.09605,
    "h": 302.9
  },
  "luminance": 0.00999
}

Semantic roles & 50–950 ramp

primary
#260A40
secondary
#517D29
accent
#F03891
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060108
muted
#7A777B

Preview Lab

Preview with #260A40

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

Preview Lab → · Contrast checker → · Palette generator →

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