#26147C#26147C

#26147C is a dark, vivid violet. Relative luminance 0.024; OKLCH L 30.5% C 0.160 H 278.9°. Best body text is #FFFFFF at 14.25:1 contrast (WCAG AA passes).

Color values

HEX#26147C
RGBrgb(38, 20, 124)
HSLhsl(250, 72%, 28%)
HSVhsv(250, 84%, 49%)
CMYKcmyk(69.4%, 83.9%, 0%, 51.4%)
CIE-LABlab(17.31, 39.78, -54.87)
CIE-LCHlch(17.31, 67.78, 305.94°)
OKLaboklab(30.5% 0.0249 -0.1585)
OKLCHoklch(30.5% 0.16 278.9)
XYZxyz(4.6864, 2.3672, 19.2748)
Luminance0.0237 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#26147C #6A7C14
analogous
#14367C #26147C #5A147C
triadic
#26147C #7C2614 #147C26
tetradic
#26147C #7C1436 #6A7C14 #147C5A
square
#26147C #7C1436 #6A7C14 #147C5A
split-complementary
#26147C #7C5A14 #367C14
monochromatic
#08041A #160B47 #26147C #361DB1 #4C2DDD

Accessibility & contrast

On white

14.25
#26147C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#26147C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #26147C
14.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##26147C#FFFFFF#000000##FFFFFF
##26147C1.0014.251.4714.25
#FFFFFF14.251.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E7F
Deuteranopia (green-blind)
#00267A
Tritanopia (blue-blind)
#003449
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #26147c;
/* rgb */ color: rgb(38, 20, 124);
/* oklch */ color: oklch(30.5% 0.160 278.9);
Tailwind
colors: {
  custom: {
    50: '#6e56a3',
    500: '#26147c',
    950: '#000000',
  },
}
SCSS
$custom: #26147c;
$custom-light: #6e56a3;
$custom-dark: #000000;
JSON
{
  "hex": "#26147c",
  "rgb": {
    "r": 38,
    "g": 20,
    "b": 124
  },
  "hsl": {
    "h": 250.385,
    "s": 72.222,
    "l": 28.235
  },
  "oklch": {
    "l": 0.305,
    "c": 0.16041,
    "h": 278.9
  },
  "luminance": 0.02368
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #26147C

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

Preview Lab → · Contrast checker → · Palette generator →

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