#26155D#26155D

#26155D is a dark, moderate violet. Relative luminance 0.017; OKLCH L 27.2% C 0.120 H 286.2°. Best body text is #FFFFFF at 15.58:1 contrast (WCAG AA passes).

Color values

HEX#26155D
RGBrgb(38, 21, 93)
HSLhsl(254, 63%, 22%)
HSVhsv(254, 77%, 36%)
CMYKcmyk(59.1%, 77.4%, 0%, 63.5%)
CIE-LABlab(14.05, 29.23, -39.99)
CIE-LCHlch(14.05, 49.53, 306.17°)
OKLaboklab(27.19% 0.0334 -0.115)
OKLCHoklch(27.19% 0.12 286.2)
XYZxyz(3.0427, 1.7385, 10.5290)
Luminance0.0174 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#26155D #4C5D15
analogous
#15285D #26155D #4A155D
triadic
#26155D #5D2615 #155D26
tetradic
#26155D #5D1528 #4C5D15 #155D4A
square
#26155D #5D1528 #4C5D15 #155D4A
split-complementary
#26155D #5D4A15 #285D15
monochromatic
#0A0619 #120A2B #26155D #3A208F #4F2CC1

Accessibility & contrast

On white

15.58
#26155D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#26155D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #26155D
15.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##26155D#FFFFFF#000000##FFFFFF
##26155D1.0015.581.3515.58
#FFFFFF15.581.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00265F
Deuteranopia (green-blind)
#00225C
Tritanopia (blue-blind)
#0D2837
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #26155d;
/* rgb */ color: rgb(38, 21, 93);
/* oklch */ color: oklch(27.2% 0.120 286.2);
Tailwind
colors: {
  custom: {
    50: '#68548c',
    500: '#26155d',
    950: '#000000',
  },
}
SCSS
$custom: #26155d;
$custom-light: #68548c;
$custom-dark: #000000;
JSON
{
  "hex": "#26155d",
  "rgb": {
    "r": 38,
    "g": 21,
    "b": 93
  },
  "hsl": {
    "h": 254.167,
    "s": 63.158,
    "l": 22.353
  },
  "oklch": {
    "l": 0.27193,
    "c": 0.11978,
    "h": 286.2
  },
  "luminance": 0.01739
}

Semantic roles & 50–950 ramp

primary
#26155D
secondary
#7F9439
accent
#E642BF
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#07030C
muted
#7A787D

Preview Lab

Preview with #26155D

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

Preview Lab → · Contrast checker → · Palette generator →

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