#26166B#26166B

#26166B is a dark, vivid violet. Relative luminance 0.020; OKLCH L 28.8% C 0.137 H 282.2°. Best body text is #FFFFFF at 14.90:1 contrast (WCAG AA passes).

Color values

HEX#26166B
RGBrgb(38, 22, 107)
HSLhsl(251, 66%, 25%)
HSVhsv(251, 79%, 42%)
CMYKcmyk(64.5%, 79.4%, 0%, 58%)
CIE-LABlab(15.73, 33.27, -46.49)
CIE-LCHlch(15.73, 57.17, 305.59°)
OKLaboklab(28.83% 0.0289 -0.1341)
OKLCHoklch(28.83% 0.137 282.2)
XYZxyz(3.7393, 2.0472, 14.1052)
Luminance0.0205 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#26166B #5B6B16
analogous
#16316B #26166B #50166B
triadic
#26166B #6B2616 #166B26
tetradic
#26166B #6B1631 #5B6B16 #166B50
square
#26166B #6B1631 #5B6B16 #166B50
split-complementary
#26166B #6B5016 #316B16
monochromatic
#090519 #140C38 #26166B #38209E #4A2BD1

Accessibility & contrast

On white

14.90
#26166B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#26166B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #26166B
14.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##26166B#FFFFFF#000000##FFFFFF
##26166B1.0014.901.4114.90
#FFFFFF14.901.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A6D
Deuteranopia (green-blind)
#002469
Tritanopia (blue-blind)
#002E3F
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #26166b;
/* rgb */ color: rgb(38, 22, 107);
/* oklch */ color: oklch(28.8% 0.137 282.2);
Tailwind
colors: {
  custom: {
    50: '#6a5596',
    500: '#26166b',
    950: '#000000',
  },
}
SCSS
$custom: #26166b;
$custom-light: #6a5596;
$custom-dark: #000000;
JSON
{
  "hex": "#26166b",
  "rgb": {
    "r": 38,
    "g": 22,
    "b": 107
  },
  "hsl": {
    "h": 251.294,
    "s": 65.891,
    "l": 25.294
  },
  "oklch": {
    "l": 0.28828,
    "c": 0.13713,
    "h": 282.2
  },
  "luminance": 0.02047
}

Semantic roles & 50–950 ramp

primary
#26166B
secondary
#8EA13B
accent
#E93FC9
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07030D
muted
#7A787E

Preview Lab

Preview with #26166B

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

Preview Lab → · Contrast checker → · Palette generator →

#26166B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva