#26114C#26114C

#26114C is a very dark, moderate violet. Relative luminance 0.013; OKLCH L 24.9% C 0.102 H 294.0°. Best body text is #FFFFFF at 16.57:1 contrast (WCAG AA passes).

Color values

HEX#26114C
RGBrgb(38, 17, 76)
HSLhsl(261, 63%, 18%)
HSVhsv(261, 78%, 30%)
CMYKcmyk(50%, 77.6%, 0%, 70.2%)
CIE-LABlab(11.52, 26.10, -32.57)
CIE-LCHlch(11.52, 41.74, 308.70°)
OKLaboklab(24.87% 0.0415 -0.0933)
OKLCHoklch(24.87% 0.102 294)
XYZxyz(2.3039, 1.3347, 6.9723)
Luminance0.0134 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#26114C #374C11
analogous
#11194C #26114C #43114C
triadic
#26114C #4C2611 #114C26
tetradic
#26114C #4C1119 #374C11 #114C43
square
#26114C #4C1119 #374C11 #114C43
split-complementary
#26114C #4C4311 #194C11
monochromatic
#0D0619 #0D061A #26114C #3F1C7E #5827B0

Accessibility & contrast

On white

16.57
#26114C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.27
#26114C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #26114C
16.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##26114C#FFFFFF#000000##FFFFFF
##26114C1.0016.571.2716.57
#FFFFFF16.571.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001F4E
Deuteranopia (green-blind)
#001D4B
Tritanopia (blue-blind)
#1B202D
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #26114c;
/* rgb */ color: rgb(38, 17, 76);
/* oklch */ color: oklch(24.9% 0.102 294.0);
Tailwind
colors: {
  custom: {
    50: '#65517f',
    500: '#26114c',
    950: '#000000',
  },
}
SCSS
$custom: #26114c;
$custom-light: #65517f;
$custom-dark: #000000;
JSON
{
  "hex": "#26114c",
  "rgb": {
    "r": 38,
    "g": 17,
    "b": 76
  },
  "hsl": {
    "h": 261.356,
    "s": 63.441,
    "l": 18.235
  },
  "oklch": {
    "l": 0.24874,
    "c": 0.10207,
    "h": 294
  },
  "luminance": 0.01335
}

Semantic roles & 50–950 ramp

primary
#26114C
secondary
#688533
accent
#E641AC
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#06020A
muted
#7A787C

Preview Lab

Preview with #26114C

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

Preview Lab → · Contrast checker → · Palette generator →

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