#26124B#26124B

#26124B is a very dark, moderate violet. Relative luminance 0.014; OKLCH L 24.9% C 0.099 H 294.1°. Best body text is #FFFFFF at 16.53:1 contrast (WCAG AA passes).

Color values

HEX#26124B
RGBrgb(38, 18, 75)
HSLhsl(261, 61%, 18%)
HSVhsv(261, 76%, 29%)
CMYKcmyk(49.3%, 76%, 0%, 70.6%)
CIE-LABlab(11.64, 25.18, -31.68)
CIE-LCHlch(11.64, 40.47, 308.48°)
OKLaboklab(24.93% 0.0405 -0.0906)
OKLCHoklch(24.93% 0.099 294.1)
XYZxyz(2.2853, 1.3526, 6.7959)
Luminance0.0135 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#26124B #374B12
analogous
#121A4B #26124B #42124B
triadic
#26124B #4B2612 #124B26
tetradic
#26124B #4B121A #374B12 #124B42
square
#26124B #4B121A #374B12 #124B42
split-complementary
#26124B #4B4212 #1A4B12
monochromatic
#0D0619 #0D061A #26124B #3F1E7C #582AAE

Accessibility & contrast

On white

16.53
#26124B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #26124B
16.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##26124B#FFFFFF#000000##FFFFFF
##26124B1.0016.531.2716.53
#FFFFFF16.531.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.531.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #26124b;
/* rgb */ color: rgb(38, 18, 75);
/* oklch */ color: oklch(24.9% 0.099 294.1);
Tailwind
colors: {
  custom: {
    50: '#64517e',
    500: '#26124b',
    950: '#000000',
  },
}
SCSS
$custom: #26124b;
$custom-light: #64517e;
$custom-dark: #000000;
JSON
{
  "hex": "#26124b",
  "rgb": {
    "r": 38,
    "g": 18,
    "b": 75
  },
  "hsl": {
    "h": 261.053,
    "s": 61.29,
    "l": 18.235
  },
  "oklch": {
    "l": 0.24932,
    "c": 0.09929,
    "h": 294.1
  },
  "luminance": 0.01353
}

Semantic roles & 50–950 ramp

primary
#26124B
secondary
#688435
accent
#E443AC
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#06020A
muted
#7A787C

Preview Lab

Preview with #26124B

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

Preview Lab → · Contrast checker → · Palette generator →

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