#26116D#26116D

#26116D is a dark, vivid violet. Relative luminance 0.019; OKLCH L 28.4% C 0.145 H 282.6°. Best body text is #FFFFFF at 15.18:1 contrast (WCAG AA passes).

Color values

HEX#26116D
RGBrgb(38, 17, 109)
HSLhsl(254, 73%, 25%)
HSVhsv(254, 84%, 43%)
CMYKcmyk(65.1%, 84.4%, 0%, 57.3%)
CIE-LABlab(15.04, 36.54, -48.93)
CIE-LCHlch(15.04, 61.07, 306.75°)
OKLaboklab(28.42% 0.0316 -0.1411)
OKLCHoklch(28.42% 0.145 282.6)
XYZxyz(3.7592, 1.9168, 14.6369)
Luminance0.0192 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#26116D #586D11
analogous
#112A6D #26116D #54116D
triadic
#26116D #6D2611 #116D26
tetradic
#26116D #6D112A #586D11 #116D54
square
#26116D #6D112A #586D11 #116D54
split-complementary
#26116D #6D5411 #2A6D11
monochromatic
#09041A #140938 #26116D #3819A2 #4B22D7

Accessibility & contrast

On white

15.18
#26116D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#26116D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #26116D
15.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##26116D#FFFFFF#000000##FFFFFF
##26116D1.0015.181.3815.18
#FFFFFF15.181.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002970
Deuteranopia (green-blind)
#00236B
Tritanopia (blue-blind)
#002D3F
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #26116d;
/* rgb */ color: rgb(38, 17, 109);
/* oklch */ color: oklch(28.4% 0.145 282.6);
Tailwind
colors: {
  custom: {
    50: '#6b5398',
    500: '#26116d',
    950: '#000000',
  },
}
SCSS
$custom: #26116d;
$custom-light: #6b5398;
$custom-dark: #000000;
JSON
{
  "hex": "#26116d",
  "rgb": {
    "r": 38,
    "g": 17,
    "b": 109
  },
  "hsl": {
    "h": 253.696,
    "s": 73.016,
    "l": 24.706
  },
  "oklch": {
    "l": 0.28415,
    "c": 0.1446,
    "h": 282.6
  },
  "luminance": 0.01917
}

Semantic roles & 50–950 ramp

primary
#26116D
secondary
#8BA535
accent
#F038C6
background
#F6F4F9
surface
#ECE7F2
border
#C7C3CC
text
#08020E
muted
#7A787E

Preview Lab

Preview with #26116D

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

Preview Lab → · Contrast checker → · Palette generator →

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