#26125E#26125E

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

Color values

HEX#26125E
RGBrgb(38, 18, 94)
HSLhsl(256, 68%, 22%)
HSVhsv(256, 81%, 37%)
CMYKcmyk(59.6%, 80.9%, 0%, 63.1%)
CIE-LABlab(13.55, 31.27, -41.48)
CIE-LCHlch(13.55, 51.95, 307.01°)
OKLaboklab(26.87% 0.0357 -0.1194)
OKLCHoklch(26.87% 0.125 286.7)
XYZxyz(3.0354, 1.6527, 10.7466)
Luminance0.0165 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#26125E #4A5E12
analogous
#12245E #26125E #4C125E
triadic
#26125E #5E2612 #125E26
tetradic
#26125E #5E1224 #4A5E12 #125E4C
square
#26125E #5E1224 #4A5E12 #125E4C
split-complementary
#26125E #5E4C12 #245E12
monochromatic
#0A051A #11082B #26125E #3B1C91 #5026C5

Accessibility & contrast

On white

15.78
#26125E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#26125E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #26125E
15.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##26125E#FFFFFF#000000##FFFFFF
##26125E1.0015.781.3315.78
#FFFFFF15.781.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.781.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #26125e;
/* rgb */ color: rgb(38, 18, 94);
/* oklch */ color: oklch(26.9% 0.125 286.7);
Tailwind
colors: {
  custom: {
    50: '#68528c',
    500: '#26125e',
    950: '#000000',
  },
}
SCSS
$custom: #26125e;
$custom-light: #68528c;
$custom-dark: #000000;
JSON
{
  "hex": "#26125e",
  "rgb": {
    "r": 38,
    "g": 18,
    "b": 94
  },
  "hsl": {
    "h": 255.789,
    "s": 67.857,
    "l": 21.961
  },
  "oklch": {
    "l": 0.2687,
    "c": 0.12463,
    "h": 286.7
  },
  "luminance": 0.01653
}

Semantic roles & 50–950 ramp

primary
#26125E
secondary
#7D9635
accent
#EB3DBD
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#07020C
muted
#7A787D

Preview Lab

Preview with #26125E

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

Preview Lab → · Contrast checker → · Palette generator →

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