#26124F#26124F

#26124F is a dark, moderate violet. Relative luminance 0.014; OKLCH L 25.3% C 0.105 H 292.3°. Best body text is #FFFFFF at 16.38:1 contrast (WCAG AA passes).

Color values

HEX#26124F
RGBrgb(38, 18, 79)
HSLhsl(260, 63%, 19%)
HSVhsv(260, 77%, 31%)
CMYKcmyk(51.9%, 77.2%, 0%, 69%)
CIE-LABlab(12.02, 26.46, -33.82)
CIE-LCHlch(12.02, 42.94, 308.04°)
OKLaboklab(25.32% 0.0397 -0.0969)
OKLCHoklch(25.32% 0.105 292.3)
XYZxyz(2.4265, 1.4091, 7.5398)
Luminance0.0141 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#26124F #3B4F12
analogous
#121D4F #26124F #45124F
triadic
#26124F #4F2612 #124F26
tetradic
#26124F #4F121D #3B4F12 #124F45
square
#26124F #4F121D #3B4F12 #124F45
split-complementary
#26124F #4F4512 #1D4F12
monochromatic
#0C0619 #0E071D #26124F #3E1D81 #5629B3

Accessibility & contrast

On white

16.38
#26124F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.28
#26124F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #26124F
16.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##26124F#FFFFFF#000000##FFFFFF
##26124F1.0016.381.2816.38
#FFFFFF16.381.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002051
Deuteranopia (green-blind)
#001E4E
Tritanopia (blue-blind)
#19222F
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #26124f;
/* rgb */ color: rgb(38, 18, 79);
/* oklch */ color: oklch(25.3% 0.105 292.3);
Tailwind
colors: {
  custom: {
    50: '#655281',
    500: '#26124f',
    950: '#000000',
  },
}
SCSS
$custom: #26124f;
$custom-light: #655281;
$custom-dark: #000000;
JSON
{
  "hex": "#26124f",
  "rgb": {
    "r": 38,
    "g": 18,
    "b": 79
  },
  "hsl": {
    "h": 259.672,
    "s": 62.887,
    "l": 19.02
  },
  "oklch": {
    "l": 0.25321,
    "c": 0.10475,
    "h": 292.3
  },
  "luminance": 0.01409
}

Semantic roles & 50–950 ramp

primary
#26124F
secondary
#6D8835
accent
#E642B0
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#06020A
muted
#7A787C

Preview Lab

Preview with #26124F

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

Preview Lab → · Contrast checker → · Palette generator →

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