#26124A#26124A

#26124A is a very dark, moderate violet. Relative luminance 0.013; OKLCH L 24.8% C 0.098 H 294.6°. Best body text is #FFFFFF at 16.56:1 contrast (WCAG AA passes).

Color values

HEX#26124A
RGBrgb(38, 18, 74)
HSLhsl(261, 61%, 18%)
HSVhsv(261, 76%, 29%)
CMYKcmyk(48.6%, 75.7%, 0%, 71%)
CIE-LABlab(11.55, 24.86, -31.14)
CIE-LCHlch(11.55, 39.85, 308.60°)
OKLaboklab(24.84% 0.0407 -0.0891)
OKLCHoklch(24.84% 0.098 294.6)
XYZxyz(2.2513, 1.3390, 6.6171)
Luminance0.0134 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#26124A #364A12
analogous
#121A4A #26124A #42124A
triadic
#26124A #4A2612 #124A26
tetradic
#26124A #4A121A #364A12 #124A42
square
#26124A #4A121A #364A12 #124A42
split-complementary
#26124A #4A4212 #1A4A12
monochromatic
#0D0619 #0D0619 #26124A #3F1E7B #592AAC

Accessibility & contrast

On white

16.56
#26124A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.27
#26124A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #26124A
16.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##26124A#FFFFFF#000000##FFFFFF
##26124A1.0016.561.2716.56
#FFFFFF16.561.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001F4C
Deuteranopia (green-blind)
#001E49
Tritanopia (blue-blind)
#1C202C
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #26124a;
/* rgb */ color: rgb(38, 18, 74);
/* oklch */ color: oklch(24.8% 0.098 294.6);
Tailwind
colors: {
  custom: {
    50: '#64517d',
    500: '#26124a',
    950: '#000000',
  },
}
SCSS
$custom: #26124a;
$custom-light: #64517d;
$custom-dark: #000000;
JSON
{
  "hex": "#26124a",
  "rgb": {
    "r": 38,
    "g": 18,
    "b": 74
  },
  "hsl": {
    "h": 261.429,
    "s": 60.87,
    "l": 18.039
  },
  "oklch": {
    "l": 0.24837,
    "c": 0.09792,
    "h": 294.6
  },
  "luminance": 0.01339
}

Semantic roles & 50–950 ramp

primary
#26124A
secondary
#678335
accent
#E444AB
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#06020A
muted
#7A787C

Preview Lab

Preview with #26124A

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

Preview Lab → · Contrast checker → · Palette generator →

#26124A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva