#26135E#26135E

#26135E is a dark, vivid violet. Relative luminance 0.017; OKLCH L 27.0% C 0.123 H 286.4°. Best body text is #FFFFFF at 15.70:1 contrast (WCAG AA passes).

Color values

HEX#26135E
RGBrgb(38, 19, 94)
HSLhsl(255, 66%, 22%)
HSVhsv(255, 80%, 37%)
CMYKcmyk(59.6%, 79.8%, 0%, 63.1%)
CIE-LABlab(13.74, 30.72, -41.16)
CIE-LCHlch(13.74, 51.36, 306.73°)
OKLaboklab(27.01% 0.0349 -0.1185)
OKLCHoklch(27.01% 0.123 286.4)
XYZxyz(3.0520, 1.6858, 10.7521)
Luminance0.0169 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#26135E #4B5E13
analogous
#13265E #26135E #4C135E
triadic
#26135E #5E2613 #135E26
tetradic
#26135E #5E1326 #4B5E13 #135E4C
square
#26135E #5E1326 #4B5E13 #135E4C
split-complementary
#26135E #5E4C13 #265E13
monochromatic
#0A0519 #11092B #26135E #3B1D91 #4F28C4

Accessibility & contrast

On white

15.70
#26135E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#26135E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #26135E
15.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##26135E#FFFFFF#000000##FFFFFF
##26135E1.0015.701.3415.70
#FFFFFF15.701.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002560
Deuteranopia (green-blind)
#00215D
Tritanopia (blue-blind)
#0C2837
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #26135e;
/* rgb */ color: rgb(38, 19, 94);
/* oklch */ color: oklch(27.0% 0.123 286.4);
Tailwind
colors: {
  custom: {
    50: '#68538c',
    500: '#26135e',
    950: '#000000',
  },
}
SCSS
$custom: #26135e;
$custom-light: #68538c;
$custom-dark: #000000;
JSON
{
  "hex": "#26135e",
  "rgb": {
    "r": 38,
    "g": 19,
    "b": 94
  },
  "hsl": {
    "h": 255.2,
    "s": 66.372,
    "l": 22.157
  },
  "oklch": {
    "l": 0.27008,
    "c": 0.12349,
    "h": 286.4
  },
  "luminance": 0.01686
}

Semantic roles & 50–950 ramp

primary
#26135E
secondary
#7E9637
accent
#E93FBE
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#07020C
muted
#7A787D

Preview Lab

Preview with #26135E

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

Preview Lab → · Contrast checker → · Palette generator →

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