#26124C#26124C

#26124C is a dark, moderate violet. Relative luminance 0.014; OKLCH L 25.0% C 0.101 H 293.6°. Best body text is #FFFFFF at 16.49:1 contrast (WCAG AA passes).

Color values

HEX#26124C
RGBrgb(38, 18, 76)
HSLhsl(261, 62%, 18%)
HSVhsv(261, 76%, 30%)
CMYKcmyk(50%, 76.3%, 0%, 70.2%)
CIE-LABlab(11.73, 25.50, -32.22)
CIE-LCHlch(11.73, 41.09, 308.36°)
OKLaboklab(25.03% 0.0403 -0.0922)
OKLCHoklch(25.03% 0.101 293.6)
XYZxyz(2.3198, 1.3664, 6.9776)
Luminance0.0137 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#26124C #384C12
analogous
#121B4C #26124C #43124C
triadic
#26124C #4C2612 #124C26
tetradic
#26124C #4C121B #384C12 #124C43
square
#26124C #4C121B #384C12 #124C43
split-complementary
#26124C #4C4312 #1B4C12
monochromatic
#0C0619 #0D061B #26124C #3F1E7D #5729AF

Accessibility & contrast

On white

16.49
#26124C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #26124C
16.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##26124C#FFFFFF#000000##FFFFFF
##26124C1.0016.491.2716.49
#FFFFFF16.491.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00204E
Deuteranopia (green-blind)
#001E4B
Tritanopia (blue-blind)
#1B202D
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #26124c;
/* rgb */ color: rgb(38, 18, 76);
/* oklch */ color: oklch(25.0% 0.101 293.6);
Tailwind
colors: {
  custom: {
    50: '#65517f',
    500: '#26124c',
    950: '#000000',
  },
}
SCSS
$custom: #26124c;
$custom-light: #65517f;
$custom-dark: #000000;
JSON
{
  "hex": "#26124c",
  "rgb": {
    "r": 38,
    "g": 18,
    "b": 76
  },
  "hsl": {
    "h": 260.69,
    "s": 61.702,
    "l": 18.431
  },
  "oklch": {
    "l": 0.25028,
    "c": 0.10067,
    "h": 293.6
  },
  "luminance": 0.01366
}

Semantic roles & 50–950 ramp

primary
#26124C
secondary
#698535
accent
#E543AD
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#06020A
muted
#7A787C

Preview Lab

Preview with #26124C

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

Preview Lab → · Contrast checker → · Palette generator →

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