#26147F#26147F

#26147F is a dark, vivid violet. Relative luminance 0.024; OKLCH L 30.9% C 0.164 H 278.4°. Best body text is #FFFFFF at 14.10:1 contrast (WCAG AA passes).

Color values

HEX#26147F
RGBrgb(38, 20, 127)
HSLhsl(250, 73%, 29%)
HSVhsv(250, 84%, 50%)
CMYKcmyk(70.1%, 84.3%, 0%, 50.2%)
CIE-LABlab(17.66, 40.72, -56.19)
CIE-LCHlch(17.66, 69.39, 305.93°)
OKLaboklab(30.85% 0.0239 -0.1623)
OKLCHoklch(30.85% 0.164 278.4)
XYZxyz(4.8790, 2.4443, 20.2892)
Luminance0.0244 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#26147F #6D7F14
analogous
#14387F #26147F #5C147F
triadic
#26147F #7F2614 #147F26
tetradic
#26147F #7F1438 #6D7F14 #147F5C
square
#26147F #7F1438 #6D7F14 #147F5C
split-complementary
#26147F #7F5C14 #387F14
monochromatic
#08041A #160C4A #26147F #361CB4 #4D2FDE

Accessibility & contrast

On white

14.10
#26147F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#26147F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #26147F
14.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##26147F#FFFFFF#000000##FFFFFF
##26147F1.0014.101.4914.10
#FFFFFF14.101.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F82
Deuteranopia (green-blind)
#00277D
Tritanopia (blue-blind)
#00364B
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #26147f;
/* rgb */ color: rgb(38, 20, 127);
/* oklch */ color: oklch(30.9% 0.164 278.4);
Tailwind
colors: {
  custom: {
    50: '#6f56a5',
    500: '#26147f',
    950: '#000000',
  },
}
SCSS
$custom: #26147f;
$custom-light: #6f56a5;
$custom-dark: #000000;
JSON
{
  "hex": "#26147f",
  "rgb": {
    "r": 38,
    "g": 20,
    "b": 127
  },
  "hsl": {
    "h": 250.093,
    "s": 72.789,
    "l": 28.824
  },
  "oklch": {
    "l": 0.30852,
    "c": 0.16406,
    "h": 278.4
  },
  "luminance": 0.02445
}

Semantic roles & 50–950 ramp

primary
#26147F
secondary
#A0B43B
accent
#EF38D1
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08030F
muted
#7B787F

Preview Lab

Preview with #26147F

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

Preview Lab → · Contrast checker → · Palette generator →

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