#26105E#26105E

#26105E is a dark, vivid violet. Relative luminance 0.016; OKLCH L 26.6% C 0.127 H 287.1°. Best body text is #FFFFFF at 15.93:1 contrast (WCAG AA passes).

Color values

HEX#26105E
RGBrgb(38, 16, 94)
HSLhsl(257, 71%, 22%)
HSVhsv(257, 83%, 37%)
CMYKcmyk(59.6%, 83%, 0%, 63.1%)
CIE-LABlab(13.17, 32.35, -42.10)
CIE-LCHlch(13.17, 53.09, 307.54°)
OKLaboklab(26.61% 0.0373 -0.1212)
OKLCHoklch(26.61% 0.127 287.1)
XYZxyz(3.0044, 1.5906, 10.7362)
Luminance0.0159 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#26105E #485E10
analogous
#10215E #26105E #4D105E
triadic
#26105E #5E2610 #105E26
tetradic
#26105E #5E1021 #485E10 #105E4D
square
#26105E #5E1021 #485E10 #105E4D
split-complementary
#26105E #5E4D10 #215E10
monochromatic
#0B041A #11072A #26105E #3B1992 #5022C7

Accessibility & contrast

On white

15.93
#26105E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#26105E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #26105E
15.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##26105E#FFFFFF#000000##FFFFFF
##26105E1.0015.931.3215.93
#FFFFFF15.931.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002460
Deuteranopia (green-blind)
#00205D
Tritanopia (blue-blind)
#0D2637
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #26105e;
/* rgb */ color: rgb(38, 16, 94);
/* oklch */ color: oklch(26.6% 0.127 287.1);
Tailwind
colors: {
  custom: {
    50: '#68518d',
    500: '#26105e',
    950: '#000000',
  },
}
SCSS
$custom: #26105e;
$custom-light: #68518d;
$custom-dark: #000000;
JSON
{
  "hex": "#26105e",
  "rgb": {
    "r": 38,
    "g": 16,
    "b": 94
  },
  "hsl": {
    "h": 256.923,
    "s": 70.909,
    "l": 21.569
  },
  "oklch": {
    "l": 0.26608,
    "c": 0.1268,
    "h": 287.1
  },
  "luminance": 0.01591
}

Semantic roles & 50–950 ramp

primary
#26105E
secondary
#7B9733
accent
#EE3ABB
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#07020C
muted
#7A787D

Preview Lab

Preview with #26105E

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

Preview Lab → · Contrast checker → · Palette generator →

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