#26115C#26115C

#26115C is a dark, vivid violet. Relative luminance 0.016; OKLCH L 26.5% C 0.123 H 287.6°. Best body text is #FFFFFF at 15.94:1 contrast (WCAG AA passes).

Color values

HEX#26115C
RGBrgb(38, 17, 92)
HSLhsl(257, 69%, 21%)
HSVhsv(257, 82%, 36%)
CMYKcmyk(58.7%, 81.5%, 0%, 63.9%)
CIE-LABlab(13.14, 31.18, -40.81)
CIE-LCHlch(13.14, 51.36, 307.38°)
OKLaboklab(26.52% 0.0372 -0.1174)
OKLCHoklch(26.52% 0.123 287.6)
XYZxyz(2.9310, 1.5855, 10.2747)
Luminance0.0159 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#26115C #475C11
analogous
#11225C #26115C #4C115C
triadic
#26115C #5C2611 #115C26
tetradic
#26115C #5C1122 #475C11 #115C4C
square
#26115C #5C1122 #475C11 #115C4C
split-complementary
#26115C #5C4C11 #225C11
monochromatic
#0B051A #110728 #26115C #3B1B90 #5124C3

Accessibility & contrast

On white

15.94
#26115C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #26115C
15.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##26115C#FFFFFF#000000##FFFFFF
##26115C1.0015.941.3215.94
#FFFFFF15.941.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00245E
Deuteranopia (green-blind)
#00205B
Tritanopia (blue-blind)
#0F2636
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #26115c;
/* rgb */ color: rgb(38, 17, 92);
/* oklch */ color: oklch(26.5% 0.123 287.6);
Tailwind
colors: {
  custom: {
    50: '#68528b',
    500: '#26115c',
    950: '#000000',
  },
}
SCSS
$custom: #26115c;
$custom-light: #68528b;
$custom-dark: #000000;
JSON
{
  "hex": "#26115c",
  "rgb": {
    "r": 38,
    "g": 17,
    "b": 92
  },
  "hsl": {
    "h": 256.8,
    "s": 68.807,
    "l": 21.373
  },
  "oklch": {
    "l": 0.2652,
    "c": 0.12316,
    "h": 287.6
  },
  "luminance": 0.01586
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #26115C

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

Preview Lab → · Contrast checker → · Palette generator →

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