#26156C#26156C

#26156C is a dark, vivid violet. Relative luminance 0.020; OKLCH L 28.8% C 0.139 H 282.1°. Best body text is #FFFFFF at 14.93:1 contrast (WCAG AA passes).

Color values

HEX#26156C
RGBrgb(38, 21, 108)
HSLhsl(252, 67%, 25%)
HSVhsv(252, 81%, 42%)
CMYKcmyk(64.8%, 80.6%, 0%, 57.6%)
CIE-LABlab(15.65, 34.16, -47.28)
CIE-LCHlch(15.65, 58.33, 305.85°)
OKLaboklab(28.8% 0.0293 -0.1364)
OKLCHoklch(28.8% 0.139 282.1)
XYZxyz(3.7734, 2.0308, 14.3776)
Luminance0.0203 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#26156C #5B6C15
analogous
#152F6C #26156C #51156C
triadic
#26156C #6C2615 #156C26
tetradic
#26156C #6C152F #5B6C15 #156C51
square
#26156C #6C152F #5B6C15 #156C51
split-complementary
#26156C #6C5115 #2F6C15
monochromatic
#09051A #140B39 #26156C #381F9F #4A29D2

Accessibility & contrast

On white

14.93
#26156C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #26156C
14.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##26156C#FFFFFF#000000##FFFFFF
##26156C1.0014.931.4114.93
#FFFFFF14.931.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A6E
Deuteranopia (green-blind)
#00246A
Tritanopia (blue-blind)
#002E40
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #26156c;
/* rgb */ color: rgb(38, 21, 108);
/* oklch */ color: oklch(28.8% 0.139 282.1);
Tailwind
colors: {
  custom: {
    50: '#6b5597',
    500: '#26156c',
    950: '#000000',
  },
}
SCSS
$custom: #26156c;
$custom-light: #6b5597;
$custom-dark: #000000;
JSON
{
  "hex": "#26156c",
  "rgb": {
    "r": 38,
    "g": 21,
    "b": 108
  },
  "hsl": {
    "h": 251.724,
    "s": 67.442,
    "l": 25.294
  },
  "oklch": {
    "l": 0.28802,
    "c": 0.13947,
    "h": 282.1
  },
  "luminance": 0.02031
}

Semantic roles & 50–950 ramp

primary
#26156C
secondary
#8EA33A
accent
#EA3DC9
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #26156C

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

Preview Lab → · Contrast checker → · Palette generator →

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