#26108D#26108D

#26108D is a dark, vivid violet. Relative luminance 0.027; OKLCH L 32.1% C 0.183 H 276.5°. Best body text is #FFFFFF at 13.63:1 contrast (WCAG AA passes).

Color values

HEX#26108D
RGBrgb(38, 16, 141)
HSLhsl(251, 80%, 31%)
HSVhsv(251, 89%, 55%)
CMYKcmyk(73%, 88.7%, 0%, 44.7%)
CIE-LABlab(18.82, 46.65, -63.10)
CIE-LCHlch(18.82, 78.47, 306.48°)
OKLaboklab(32.15% 0.0207 -0.1823)
OKLCHoklch(32.15% 0.183 276.5)
XYZxyz(5.7908, 2.7052, 25.4111)
Luminance0.0271 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#26108D #778D10
analogous
#10388D #26108D #64108D
triadic
#26108D #8D2610 #108D26
tetradic
#26108D #8D1038 #778D10 #108D64
square
#26108D #8D1038 #778D10 #108D64
split-complementary
#26108D #8D6410 #388D10
monochromatic
#08041F #170A56 #26108D #3516C4 #5030E7

Accessibility & contrast

On white

13.63
#26108D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#26108D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #26108D
13.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##26108D#FFFFFF#000000##FFFFFF
##26108D1.0013.631.5413.63
#FFFFFF13.631.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003390
Deuteranopia (green-blind)
#00288B
Tritanopia (blue-blind)
#003A52
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #26108d;
/* rgb */ color: rgb(38, 16, 141);
/* oklch */ color: oklch(32.1% 0.183 276.5);
Tailwind
colors: {
  custom: {
    50: '#7355b0',
    500: '#26108d',
    950: '#000000',
  },
}
SCSS
$custom: #26108d;
$custom-light: #7355b0;
$custom-dark: #000000;
JSON
{
  "hex": "#26108d",
  "rgb": {
    "r": 38,
    "g": 16,
    "b": 141
  },
  "hsl": {
    "h": 250.56,
    "s": 79.618,
    "l": 30.784
  },
  "oklch": {
    "l": 0.32147,
    "c": 0.18344,
    "h": 276.5
  },
  "luminance": 0.02706
}

Semantic roles & 50–950 ramp

primary
#26108D
secondary
#A9C237
accent
#F632D4
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#090311
muted
#7B7880

Preview Lab

Preview with #26108D

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

Preview Lab → · Contrast checker → · Palette generator →

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