#26147A#26147A

#26147A is a dark, vivid violet. Relative luminance 0.023; OKLCH L 30.3% C 0.158 H 279.3°. Best body text is #FFFFFF at 14.35:1 contrast (WCAG AA passes).

Color values

HEX#26147A
RGBrgb(38, 20, 122)
HSLhsl(251, 72%, 28%)
HSVhsv(251, 84%, 48%)
CMYKcmyk(68.9%, 83.6%, 0%, 52.2%)
CIE-LABlab(17.07, 39.15, -53.99)
CIE-LCHlch(17.07, 66.69, 305.95°)
OKLaboklab(30.27% 0.0256 -0.1559)
OKLCHoklch(30.27% 0.158 279.3)
XYZxyz(4.5612, 2.3171, 18.6155)
Luminance0.0232 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#26147A #687A14
analogous
#14357A #26147A #59147A
triadic
#26147A #7A2614 #147A26
tetradic
#26147A #7A1435 #687A14 #147A59
square
#26147A #7A1435 #687A14 #147A59
split-complementary
#26147A #7A5914 #357A14
monochromatic
#08041A #160B45 #26147A #361DAF #4B2CDC

Accessibility & contrast

On white

14.35
#26147A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#26147A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #26147A
14.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##26147A#FFFFFF#000000##FFFFFF
##26147A1.0014.351.4614.35
#FFFFFF14.351.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E7D
Deuteranopia (green-blind)
#002678
Tritanopia (blue-blind)
#003348
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #26147a;
/* rgb */ color: rgb(38, 20, 122);
/* oklch */ color: oklch(30.3% 0.158 279.3);
Tailwind
colors: {
  custom: {
    50: '#6e55a2',
    500: '#26147a',
    950: '#000000',
  },
}
SCSS
$custom: #26147a;
$custom-light: #6e55a2;
$custom-dark: #000000;
JSON
{
  "hex": "#26147a",
  "rgb": {
    "r": 38,
    "g": 20,
    "b": 122
  },
  "hsl": {
    "h": 250.588,
    "s": 71.831,
    "l": 27.843
  },
  "oklch": {
    "l": 0.30267,
    "c": 0.15797,
    "h": 279.3
  },
  "luminance": 0.02318
}

Semantic roles & 50–950 ramp

primary
#26147A
secondary
#9BB03A
accent
#EF39CF
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08030F
muted
#7B787F

Preview Lab

Preview with #26147A

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

Preview Lab → · Contrast checker → · Palette generator →

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