#26156E#26156E

#26156E is a dark, vivid violet. Relative luminance 0.021; OKLCH L 29.0% C 0.142 H 281.7°. Best body text is #FFFFFF at 14.84:1 contrast (WCAG AA passes).

Color values

HEX#26156E
RGBrgb(38, 21, 110)
HSLhsl(251, 68%, 26%)
HSVhsv(251, 81%, 43%)
CMYKcmyk(65.5%, 80.9%, 0%, 56.9%)
CIE-LABlab(15.87, 34.80, -48.22)
CIE-LCHlch(15.87, 59.47, 305.82°)
OKLaboklab(29.02% 0.0287 -0.1391)
OKLCHoklch(29.02% 0.142 281.7)
XYZxyz(3.8811, 2.0739, 14.9446)
Luminance0.0207 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#26156E #5D6E15
analogous
#15306E #26156E #52156E
triadic
#26156E #6E2615 #156E26
tetradic
#26156E #6E1530 #5D6E15 #156E52
square
#26156E #6E1530 #5D6E15 #156E52
split-complementary
#26156E #6E5215 #306E15
monochromatic
#09051A #140B3B #26156E #381FA1 #4A29D5

Accessibility & contrast

On white

14.84
#26156E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#26156E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #26156E
14.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##26156E#FFFFFF#000000##FFFFFF
##26156E1.0014.841.4114.84
#FFFFFF14.841.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A71
Deuteranopia (green-blind)
#00246C
Tritanopia (blue-blind)
#002F41
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #26156e;
/* rgb */ color: rgb(38, 21, 110);
/* oklch */ color: oklch(29.0% 0.142 281.7);
Tailwind
colors: {
  custom: {
    50: '#6b5599',
    500: '#26156e',
    950: '#000000',
  },
}
SCSS
$custom: #26156e;
$custom-light: #6b5599;
$custom-dark: #000000;
JSON
{
  "hex": "#26156e",
  "rgb": {
    "r": 38,
    "g": 21,
    "b": 110
  },
  "hsl": {
    "h": 251.461,
    "s": 67.939,
    "l": 25.686
  },
  "oklch": {
    "l": 0.29024,
    "c": 0.14203,
    "h": 281.7
  },
  "luminance": 0.02074
}

Semantic roles & 50–950 ramp

primary
#26156E
secondary
#90A43A
accent
#EB3DCA
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #26156E

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

Preview Lab → · Contrast checker → · Palette generator →

#26156E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva