#26115A#26115A

#26115A is a dark, vivid violet. Relative luminance 0.016; OKLCH L 26.3% C 0.121 H 288.3°. Best body text is #FFFFFF at 16.03:1 contrast (WCAG AA passes).

Color values

HEX#26115A
RGBrgb(38, 17, 90)
HSLhsl(257, 68%, 21%)
HSVhsv(257, 81%, 35%)
CMYKcmyk(57.8%, 81.1%, 0%, 64.7%)
CIE-LABlab(12.93, 30.55, -39.81)
CIE-LCHlch(12.93, 50.18, 307.50°)
OKLaboklab(26.31% 0.0378 -0.1145)
OKLCHoklch(26.31% 0.121 288.3)
XYZxyz(2.8447, 1.5510, 9.8204)
Luminance0.0155 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#26115A #455A11
analogous
#11205A #26115A #4A115A
triadic
#26115A #5A2611 #115A26
tetradic
#26115A #5A1120 #455A11 #115A4A
square
#26115A #5A1120 #455A11 #115A4A
split-complementary
#26115A #5A4A11 #205A11
monochromatic
#0B051A #100727 #26115A #3C1B8D #5124C1

Accessibility & contrast

On white

16.03
#26115A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#26115A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #26115A
16.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##26115A#FFFFFF#000000##FFFFFF
##26115A1.0016.031.3116.03
#FFFFFF16.031.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00235C
Deuteranopia (green-blind)
#001F59
Tritanopia (blue-blind)
#112535
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #26115a;
/* rgb */ color: rgb(38, 17, 90);
/* oklch */ color: oklch(26.3% 0.121 288.3);
Tailwind
colors: {
  custom: {
    50: '#675289',
    500: '#26115a',
    950: '#000000',
  },
}
SCSS
$custom: #26115a;
$custom-light: #675289;
$custom-dark: #000000;
JSON
{
  "hex": "#26115a",
  "rgb": {
    "r": 38,
    "g": 17,
    "b": 90
  },
  "hsl": {
    "h": 257.26,
    "s": 68.224,
    "l": 20.98
  },
  "oklch": {
    "l": 0.26306,
    "c": 0.12058,
    "h": 288.3
  },
  "luminance": 0.01551
}

Semantic roles & 50–950 ramp

primary
#26115A
secondary
#789334
accent
#EB3DB9
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06020C
muted
#7A787D

Preview Lab

Preview with #26115A

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

Preview Lab → · Contrast checker → · Palette generator →

#26115A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva