#26104D#26104D

#26104D is a very dark, moderate violet. Relative luminance 0.013; OKLCH L 24.8% C 0.105 H 293.8°. Best body text is #FFFFFF at 16.62:1 contrast (WCAG AA passes).

Color values

HEX#26104D
RGBrgb(38, 16, 77)
HSLhsl(262, 66%, 18%)
HSVhsv(262, 79%, 30%)
CMYKcmyk(50.6%, 79.2%, 0%, 69.8%)
CIE-LABlab(11.40, 27.00, -33.45)
CIE-LCHlch(11.40, 42.99, 308.91°)
OKLaboklab(24.82% 0.0423 -0.0958)
OKLCHoklch(24.82% 0.105 293.8)
XYZxyz(2.3238, 1.3184, 7.1518)
Luminance0.0132 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#26104D #374D10
analogous
#10194D #26104D #44104D
triadic
#26104D #4D2610 #104D26
tetradic
#26104D #4D1019 #374D10 #104D44
square
#26104D #4D1019 #374D10 #104D44
split-complementary
#26104D #4D4410 #194D10
monochromatic
#0D0519 #0D051A #26104D #3F1B80 #5825B2

Accessibility & contrast

On white

16.62
#26104D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.26
#26104D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #26104D
16.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##26104D#FFFFFF#000000##FFFFFF
##26104D1.0016.621.2616.62
#FFFFFF16.621.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001F4F
Deuteranopia (green-blind)
#001D4C
Tritanopia (blue-blind)
#1B202D
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #26104d;
/* rgb */ color: rgb(38, 16, 77);
/* oklch */ color: oklch(24.8% 0.105 293.8);
Tailwind
colors: {
  custom: {
    50: '#65507f',
    500: '#26104d',
    950: '#000000',
  },
}
SCSS
$custom: #26104d;
$custom-light: #65507f;
$custom-dark: #000000;
JSON
{
  "hex": "#26104d",
  "rgb": {
    "r": 38,
    "g": 16,
    "b": 77
  },
  "hsl": {
    "h": 261.639,
    "s": 65.591,
    "l": 18.235
  },
  "oklch": {
    "l": 0.24824,
    "c": 0.10476,
    "h": 293.8
  },
  "luminance": 0.01318
}

Semantic roles & 50–950 ramp

primary
#26104D
secondary
#688732
accent
#E93FAB
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#06020A
muted
#7A787C

Preview Lab

Preview with #26104D

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

Preview Lab → · Contrast checker → · Palette generator →

#26104D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva