#26105C#26105C

#26105C is a dark, vivid violet. Relative luminance 0.016; OKLCH L 26.4% C 0.124 H 287.8°. Best body text is #FFFFFF at 16.02:1 contrast (WCAG AA passes).

Color values

HEX#26105C
RGBrgb(38, 16, 92)
HSLhsl(257, 70%, 21%)
HSVhsv(257, 83%, 36%)
CMYKcmyk(58.7%, 82.6%, 0%, 63.9%)
CIE-LABlab(12.95, 31.72, -41.12)
CIE-LCHlch(12.95, 51.93, 307.65°)
OKLaboklab(26.39% 0.038 -0.1183)
OKLCHoklch(26.39% 0.124 287.8)
XYZxyz(2.9158, 1.5552, 10.2697)
Luminance0.0155 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#26105C #465C10
analogous
#10205C #26105C #4C105C
triadic
#26105C #5C2610 #105C26
tetradic
#26105C #5C1020 #465C10 #105C4C
square
#26105C #5C1020 #465C10 #105C4C
split-complementary
#26105C #5C4C10 #205C10
monochromatic
#0B051A #100728 #26105C #3C1990 #5122C4

Accessibility & contrast

On white

16.02
#26105C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#26105C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #26105C
16.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##26105C#FFFFFF#000000##FFFFFF
##26105C1.0016.021.3116.02
#FFFFFF16.021.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00235E
Deuteranopia (green-blind)
#001F5B
Tritanopia (blue-blind)
#0F2635
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #26105c;
/* rgb */ color: rgb(38, 16, 92);
/* oklch */ color: oklch(26.4% 0.124 287.8);
Tailwind
colors: {
  custom: {
    50: '#68518b',
    500: '#26105c',
    950: '#000000',
  },
}
SCSS
$custom: #26105c;
$custom-light: #68518b;
$custom-dark: #000000;
JSON
{
  "hex": "#26105c",
  "rgb": {
    "r": 38,
    "g": 16,
    "b": 92
  },
  "hsl": {
    "h": 257.368,
    "s": 70.37,
    "l": 21.176
  },
  "oklch": {
    "l": 0.26389,
    "c": 0.12426,
    "h": 287.8
  },
  "luminance": 0.01555
}

Semantic roles & 50–950 ramp

primary
#26105C
secondary
#799533
accent
#ED3BB9
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#07020C
muted
#7A787D

Preview Lab

Preview with #26105C

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

Preview Lab → · Contrast checker → · Palette generator →

#26105C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva