#26135D#26135D

#26135D is a dark, vivid violet. Relative luminance 0.017; OKLCH L 26.9% C 0.122 H 286.7°. Best body text is #FFFFFF at 15.75:1 contrast (WCAG AA passes).

Color values

HEX#26135D
RGBrgb(38, 19, 93)
HSLhsl(255, 66%, 22%)
HSVhsv(255, 80%, 36%)
CMYKcmyk(59.1%, 79.6%, 0%, 63.5%)
CIE-LABlab(13.64, 30.39, -40.66)
CIE-LCHlch(13.64, 50.77, 306.77°)
OKLaboklab(26.9% 0.0352 -0.117)
OKLCHoklch(26.9% 0.122 286.7)
XYZxyz(3.0074, 1.6680, 10.5173)
Luminance0.0167 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#26135D #4A5D13
analogous
#13255D #26135D #4B135D
triadic
#26135D #5D2613 #135D26
tetradic
#26135D #5D1325 #4A5D13 #135D4B
square
#26135D #5D1325 #4A5D13 #135D4B
split-complementary
#26135D #5D4B13 #255D13
monochromatic
#0A0519 #11092A #26135D #3B1D90 #5028C3

Accessibility & contrast

On white

15.75
#26135D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#26135D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #26135D
15.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##26135D#FFFFFF#000000##FFFFFF
##26135D1.0015.751.3315.75
#FFFFFF15.751.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00255F
Deuteranopia (green-blind)
#00215C
Tritanopia (blue-blind)
#0E2737
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #26135d;
/* rgb */ color: rgb(38, 19, 93);
/* oklch */ color: oklch(26.9% 0.122 286.7);
Tailwind
colors: {
  custom: {
    50: '#68538c',
    500: '#26135d',
    950: '#000000',
  },
}
SCSS
$custom: #26135d;
$custom-light: #68538c;
$custom-dark: #000000;
JSON
{
  "hex": "#26135d",
  "rgb": {
    "r": 38,
    "g": 19,
    "b": 93
  },
  "hsl": {
    "h": 255.405,
    "s": 66.071,
    "l": 21.961
  },
  "oklch": {
    "l": 0.26901,
    "c": 0.12218,
    "h": 286.7
  },
  "luminance": 0.01668
}

Semantic roles & 50–950 ramp

primary
#26135D
secondary
#7D9537
accent
#E93FBD
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#07020C
muted
#7A787D

Preview Lab

Preview with #26135D

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

Preview Lab → · Contrast checker → · Palette generator →

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