#26115D#26115D

#26115D is a dark, vivid violet. Relative luminance 0.016; OKLCH L 26.6% C 0.124 H 287.2°. Best body text is #FFFFFF at 15.90:1 contrast (WCAG AA passes).

Color values

HEX#26115D
RGBrgb(38, 17, 93)
HSLhsl(257, 69%, 22%)
HSVhsv(257, 82%, 36%)
CMYKcmyk(59.1%, 81.7%, 0%, 63.5%)
CIE-LABlab(13.25, 31.50, -41.30)
CIE-LCHlch(13.25, 51.95, 307.33°)
OKLaboklab(26.63% 0.0369 -0.1189)
OKLCHoklch(26.63% 0.124 287.2)
XYZxyz(2.9750, 1.6031, 10.5065)
Luminance0.0160 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#26115D #485D11
analogous
#11225D #26115D #4C115D
triadic
#26115D #5D2611 #115D26
tetradic
#26115D #5D1122 #485D11 #115D4C
square
#26115D #5D1122 #485D11 #115D4C
split-complementary
#26115D #5D4C11 #225D11
monochromatic
#0B051A #110829 #26115D #3B1A91 #5024C4

Accessibility & contrast

On white

15.90
#26115D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#26115D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #26115D
15.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##26115D#FFFFFF#000000##FFFFFF
##26115D1.0015.901.3215.90
#FFFFFF15.901.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00245F
Deuteranopia (green-blind)
#00205C
Tritanopia (blue-blind)
#0E2736
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #26115d;
/* rgb */ color: rgb(38, 17, 93);
/* oklch */ color: oklch(26.6% 0.124 287.2);
Tailwind
colors: {
  custom: {
    50: '#68528c',
    500: '#26115d',
    950: '#000000',
  },
}
SCSS
$custom: #26115d;
$custom-light: #68528c;
$custom-dark: #000000;
JSON
{
  "hex": "#26115d",
  "rgb": {
    "r": 38,
    "g": 17,
    "b": 93
  },
  "hsl": {
    "h": 256.579,
    "s": 69.091,
    "l": 21.569
  },
  "oklch": {
    "l": 0.26628,
    "c": 0.12445,
    "h": 287.2
  },
  "luminance": 0.01603
}

Semantic roles & 50–950 ramp

primary
#26115D
secondary
#7B9634
accent
#EC3CBB
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#07020C
muted
#7A787D

Preview Lab

Preview with #26115D

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

Preview Lab → · Contrast checker → · Palette generator →

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