#260A42#260A42

#260A42 is a very dark, moderate violet. Relative luminance 0.010; OKLCH L 22.9% C 0.099 H 301.6°. Best body text is #FFFFFF at 17.44:1 contrast (WCAG AA passes).

Color values

HEX#260A42
RGBrgb(38, 10, 66)
HSLhsl(270, 74%, 15%)
HSVhsv(270, 85%, 26%)
CMYKcmyk(42.4%, 84.8%, 0%, 74.1%)
CIE-LABlab(9.18, 26.96, -29.39)
CIE-LCHlch(9.18, 39.88, 312.53°)
OKLaboklab(22.92% 0.0517 -0.0839)
OKLCHoklch(22.92% 0.099 301.6)
XYZxyz(1.8910, 1.0225, 5.2509)
Luminance0.0102 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#260A42 #26420A
analogous
#0A0A42 #260A42 #420A42
triadic
#260A42 #42260A #0A4226
tetradic
#260A42 #420A0A #26420A #0A4242
square
#260A42 #420A0A #26420A #0A4242
split-complementary
#260A42 #42420A #0A420A
monochromatic
#0F041B #0F041B #260A42 #451277 #631AAC

Accessibility & contrast

On white

17.44
#260A42 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #260A42
17.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##260A42#FFFFFF#000000##FFFFFF
##260A421.0017.441.2017.44
#FFFFFF17.441.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001944
Deuteranopia (green-blind)
#001A41
Tritanopia (blue-blind)
#201825
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #260a42;
/* rgb */ color: rgb(38, 10, 66);
/* oklch */ color: oklch(22.9% 0.099 301.6);
Tailwind
colors: {
  custom: {
    50: '#644c77',
    500: '#260a42',
    950: '#000000',
  },
}
SCSS
$custom: #260a42;
$custom-light: #644c77;
$custom-dark: #000000;
JSON
{
  "hex": "#260a42",
  "rgb": {
    "r": 38,
    "g": 10,
    "b": 66
  },
  "hsl": {
    "h": 270,
    "s": 73.684,
    "l": 14.902
  },
  "oklch": {
    "l": 0.2292,
    "c": 0.09852,
    "h": 301.6
  },
  "luminance": 0.01022
}

Semantic roles & 50–950 ramp

primary
#260A42
secondary
#547F29
accent
#F03794
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060109
muted
#7A777B

Preview Lab

Preview with #260A42

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

Preview Lab → · Contrast checker → · Palette generator →

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