#26155C#26155C

#26155C is a dark, moderate violet. Relative luminance 0.017; OKLCH L 27.1% C 0.118 H 286.5°. Best body text is #FFFFFF at 15.62:1 contrast (WCAG AA passes).

Color values

HEX#26155C
RGBrgb(38, 21, 92)
HSLhsl(254, 63%, 22%)
HSVhsv(254, 77%, 36%)
CMYKcmyk(58.7%, 77.2%, 0%, 63.9%)
CIE-LABlab(13.95, 28.90, -39.49)
CIE-LCHlch(13.95, 48.93, 306.20°)
OKLaboklab(27.09% 0.0336 -0.1136)
OKLCHoklch(27.09% 0.118 286.5)
XYZxyz(2.9987, 1.7209, 10.2973)
Luminance0.0172 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#26155C #4B5C15
analogous
#15285C #26155C #4A155C
triadic
#26155C #5C2615 #155C26
tetradic
#26155C #5C1528 #4B5C15 #155C4A
square
#26155C #5C1528 #4B5C15 #155C4A
split-complementary
#26155C #5C4A15 #285C15
monochromatic
#0A0619 #110A2A #26155C #3B208E #4F2CC0

Accessibility & contrast

On white

15.62
#26155C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#26155C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #26155C
15.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##26155C#FFFFFF#000000##FFFFFF
##26155C1.0015.621.3415.62
#FFFFFF15.621.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00255E
Deuteranopia (green-blind)
#00215B
Tritanopia (blue-blind)
#0F2837
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #26155c;
/* rgb */ color: rgb(38, 21, 92);
/* oklch */ color: oklch(27.1% 0.118 286.5);
Tailwind
colors: {
  custom: {
    50: '#67548b',
    500: '#26155c',
    950: '#000000',
  },
}
SCSS
$custom: #26155c;
$custom-light: #67548b;
$custom-dark: #000000;
JSON
{
  "hex": "#26155c",
  "rgb": {
    "r": 38,
    "g": 21,
    "b": 92
  },
  "hsl": {
    "h": 254.366,
    "s": 62.832,
    "l": 22.157
  },
  "oklch": {
    "l": 0.2709,
    "c": 0.11844,
    "h": 286.5
  },
  "luminance": 0.01721
}

Semantic roles & 50–950 ramp

primary
#26155C
secondary
#7E9339
accent
#E642BF
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06030C
muted
#7A787D

Preview Lab

Preview with #26155C

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

Preview Lab → · Contrast checker → · Palette generator →

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