#26116C#26116C

#26116C is a dark, vivid violet. Relative luminance 0.019; OKLCH L 28.3% C 0.143 H 282.9°. Best body text is #FFFFFF at 15.23:1 contrast (WCAG AA passes).

Color values

HEX#26116C
RGBrgb(38, 17, 108)
HSLhsl(254, 73%, 25%)
HSVhsv(254, 84%, 42%)
CMYKcmyk(64.8%, 84.3%, 0%, 57.6%)
CIE-LABlab(14.93, 36.23, -48.47)
CIE-LCHlch(14.93, 60.51, 306.78°)
OKLaboklab(28.3% 0.0319 -0.1398)
OKLCHoklch(28.3% 0.143 282.9)
XYZxyz(3.7057, 1.8954, 14.3550)
Luminance0.0190 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#26116C #576C11
analogous
#112A6C #26116C #54116C
triadic
#26116C #6C2611 #116C26
tetradic
#26116C #6C112A #576C11 #116C54
square
#26116C #6C112A #576C11 #116C54
split-complementary
#26116C #6C5411 #2A6C11
monochromatic
#09041A #130937 #26116C #3919A1 #4B22D6

Accessibility & contrast

On white

15.23
#26116C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #26116C
15.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##26116C#FFFFFF#000000##FFFFFF
##26116C1.0015.231.3815.23
#FFFFFF15.231.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00286E
Deuteranopia (green-blind)
#00226A
Tritanopia (blue-blind)
#002D3F
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #26116c;
/* rgb */ color: rgb(38, 17, 108);
/* oklch */ color: oklch(28.3% 0.143 282.9);
Tailwind
colors: {
  custom: {
    50: '#6b5397',
    500: '#26116c',
    950: '#000000',
  },
}
SCSS
$custom: #26116c;
$custom-light: #6b5397;
$custom-dark: #000000;
JSON
{
  "hex": "#26116c",
  "rgb": {
    "r": 38,
    "g": 17,
    "b": 108
  },
  "hsl": {
    "h": 253.846,
    "s": 72.8,
    "l": 24.51
  },
  "oklch": {
    "l": 0.283,
    "c": 0.14337,
    "h": 282.9
  },
  "luminance": 0.01896
}

Semantic roles & 50–950 ramp

primary
#26116C
secondary
#8AA435
accent
#EF38C5
background
#F6F4F9
surface
#ECE7F2
border
#C7C3CC
text
#07020E
muted
#7A787E

Preview Lab

Preview with #26116C

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

Preview Lab → · Contrast checker → · Palette generator →

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