#26116F#26116F

#26116F is a dark, vivid violet. Relative luminance 0.020; OKLCH L 28.6% C 0.147 H 282.1°. Best body text is #FFFFFF at 15.08:1 contrast (WCAG AA passes).

Color values

HEX#26116F
RGBrgb(38, 17, 111)
HSLhsl(253, 73%, 25%)
HSVhsv(253, 85%, 44%)
CMYKcmyk(65.8%, 84.7%, 0%, 56.5%)
CIE-LABlab(15.28, 37.17, -49.85)
CIE-LCHlch(15.28, 62.18, 306.71°)
OKLaboklab(28.65% 0.0309 -0.1438)
OKLCHoklch(28.65% 0.147 282.1)
XYZxyz(3.8681, 1.9604, 15.2104)
Luminance0.0196 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#26116F #5A6F11
analogous
#112B6F #26116F #55116F
triadic
#26116F #6F2611 #116F26
tetradic
#26116F #6F112B #5A6F11 #116F55
square
#26116F #6F112B #5A6F11 #116F55
split-complementary
#26116F #6F5511 #2B6F11
monochromatic
#09041B #14093A #26116F #3819A4 #4A21D9

Accessibility & contrast

On white

15.08
#26116F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#26116F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #26116F
15.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##26116F#FFFFFF#000000##FFFFFF
##26116F1.0015.081.3915.08
#FFFFFF15.081.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002972
Deuteranopia (green-blind)
#00236D
Tritanopia (blue-blind)
#002E41
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #26116f;
/* rgb */ color: rgb(38, 17, 111);
/* oklch */ color: oklch(28.6% 0.147 282.1);
Tailwind
colors: {
  custom: {
    50: '#6c5399',
    500: '#26116f',
    950: '#000000',
  },
}
SCSS
$custom: #26116f;
$custom-light: #6c5399;
$custom-dark: #000000;
JSON
{
  "hex": "#26116f",
  "rgb": {
    "r": 38,
    "g": 17,
    "b": 111
  },
  "hsl": {
    "h": 253.404,
    "s": 73.438,
    "l": 25.098
  },
  "oklch": {
    "l": 0.28646,
    "c": 0.14707,
    "h": 282.1
  },
  "luminance": 0.01961
}

Semantic roles & 50–950 ramp

primary
#26116F
secondary
#8DA635
accent
#F038C7
background
#F6F4F9
surface
#ECE7F2
border
#C7C3CC
text
#08030E
muted
#7A787E

Preview Lab

Preview with #26116F

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

Preview Lab → · Contrast checker → · Palette generator →

#26116F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva