#26147D#26147D

#26147D is a dark, vivid violet. Relative luminance 0.024; OKLCH L 30.6% C 0.162 H 278.7°. Best body text is #FFFFFF at 14.20:1 contrast (WCAG AA passes).

Color values

HEX#26147D
RGBrgb(38, 20, 125)
HSLhsl(250, 72%, 28%)
HSVhsv(250, 84%, 49%)
CMYKcmyk(69.6%, 84%, 0%, 51%)
CIE-LABlab(17.43, 40.09, -55.31)
CIE-LCHlch(17.43, 68.32, 305.94°)
OKLaboklab(30.62% 0.0246 -0.1597)
OKLCHoklch(30.62% 0.162 278.7)
XYZxyz(4.7500, 2.3926, 19.6096)
Luminance0.0239 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#26147D #6B7D14
analogous
#14367D #26147D #5A147D
triadic
#26147D #7D2614 #147D26
tetradic
#26147D #7D1436 #6B7D14 #147D5A
square
#26147D #7D1436 #6B7D14 #147D5A
split-complementary
#26147D #7D5A14 #367D14
monochromatic
#08041A #160C48 #26147D #361CB2 #4C2EDE

Accessibility & contrast

On white

14.20
#26147D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#26147D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #26147D
14.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##26147D#FFFFFF#000000##FFFFFF
##26147D1.0014.201.4814.20
#FFFFFF14.201.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F80
Deuteranopia (green-blind)
#00277B
Tritanopia (blue-blind)
#003549
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #26147d;
/* rgb */ color: rgb(38, 20, 125);
/* oklch */ color: oklch(30.6% 0.162 278.7);
Tailwind
colors: {
  custom: {
    50: '#6f56a4',
    500: '#26147d',
    950: '#000000',
  },
}
SCSS
$custom: #26147d;
$custom-light: #6f56a4;
$custom-dark: #000000;
JSON
{
  "hex": "#26147d",
  "rgb": {
    "r": 38,
    "g": 20,
    "b": 125
  },
  "hsl": {
    "h": 250.286,
    "s": 72.414,
    "l": 28.431
  },
  "oklch": {
    "l": 0.30617,
    "c": 0.16163,
    "h": 278.7
  },
  "luminance": 0.02393
}

Semantic roles & 50–950 ramp

primary
#26147D
secondary
#9EB23A
accent
#EF39D0
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08030F
muted
#7B787F

Preview Lab

Preview with #26147D

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

Preview Lab → · Contrast checker → · Palette generator →

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