#26115B#26115B

#26115B is a dark, vivid violet. Relative luminance 0.016; OKLCH L 26.4% C 0.122 H 287.9°. Best body text is #FFFFFF at 15.99:1 contrast (WCAG AA passes).

Color values

HEX#26115B
RGBrgb(38, 17, 91)
HSLhsl(257, 69%, 21%)
HSVhsv(257, 81%, 36%)
CMYKcmyk(58.2%, 81.3%, 0%, 64.3%)
CIE-LABlab(13.04, 30.86, -40.31)
CIE-LCHlch(13.04, 50.77, 307.44°)
OKLaboklab(26.41% 0.0375 -0.116)
OKLCHoklch(26.41% 0.122 287.9)
XYZxyz(2.8875, 1.5682, 10.0460)
Luminance0.0157 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#26115B #465B11
analogous
#11215B #26115B #4B115B
triadic
#26115B #5B2611 #115B26
tetradic
#26115B #5B1121 #465B11 #115B4B
square
#26115B #5B1121 #465B11 #115B4B
split-complementary
#26115B #5B4B11 #215B11
monochromatic
#0B051A #100727 #26115B #3C1B8F #5124C2

Accessibility & contrast

On white

15.99
#26115B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #26115B
15.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##26115B#FFFFFF#000000##FFFFFF
##26115B1.0015.991.3115.99
#FFFFFF15.991.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF15.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00235D
Deuteranopia (green-blind)
#00205A
Tritanopia (blue-blind)
#102635
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #26115b;
/* rgb */ color: rgb(38, 17, 91);
/* oklch */ color: oklch(26.4% 0.122 287.9);
Tailwind
colors: {
  custom: {
    50: '#68528a',
    500: '#26115b',
    950: '#000000',
  },
}
SCSS
$custom: #26115b;
$custom-light: #68528a;
$custom-dark: #000000;
JSON
{
  "hex": "#26115b",
  "rgb": {
    "r": 38,
    "g": 17,
    "b": 91
  },
  "hsl": {
    "h": 257.027,
    "s": 68.519,
    "l": 21.176
  },
  "oklch": {
    "l": 0.26413,
    "c": 0.12187,
    "h": 287.9
  },
  "luminance": 0.01568
}

Semantic roles & 50–950 ramp

primary
#26115B
secondary
#799434
accent
#EB3CBA
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#07020C
muted
#7A787D

Preview Lab

Preview with #26115B

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

Preview Lab → · Contrast checker → · Palette generator →

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