#26147E#26147E

#26147E is a dark, vivid violet. Relative luminance 0.024; OKLCH L 30.7% C 0.163 H 278.6°. Best body text is #FFFFFF at 14.15:1 contrast (WCAG AA passes).

Color values

HEX#26147E
RGBrgb(38, 20, 126)
HSLhsl(250, 73%, 29%)
HSVhsv(250, 84%, 49%)
CMYKcmyk(69.8%, 84.1%, 0%, 50.6%)
CIE-LABlab(17.55, 40.41, -55.75)
CIE-LCHlch(17.55, 68.86, 305.93°)
OKLaboklab(30.74% 0.0243 -0.161)
OKLCHoklch(30.74% 0.163 278.6)
XYZxyz(4.8142, 2.4183, 19.9477)
Luminance0.0242 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#26147E #6C7E14
analogous
#14377E #26147E #5B147E
triadic
#26147E #7E2614 #147E26
tetradic
#26147E #7E1437 #6C7E14 #147E5B
square
#26147E #7E1437 #6C7E14 #147E5B
split-complementary
#26147E #7E5B14 #377E14
monochromatic
#08041A #160C49 #26147E #361CB3 #4C2EDE

Accessibility & contrast

On white

14.15
#26147E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #26147E
14.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##26147E#FFFFFF#000000##FFFFFF
##26147E1.0014.151.4814.15
#FFFFFF14.151.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F81
Deuteranopia (green-blind)
#00277C
Tritanopia (blue-blind)
#00354A
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #26147e;
/* rgb */ color: rgb(38, 20, 126);
/* oklch */ color: oklch(30.7% 0.163 278.6);
Tailwind
colors: {
  custom: {
    50: '#6f56a5',
    500: '#26147e',
    950: '#000000',
  },
}
SCSS
$custom: #26147e;
$custom-light: #6f56a5;
$custom-dark: #000000;
JSON
{
  "hex": "#26147e",
  "rgb": {
    "r": 38,
    "g": 20,
    "b": 126
  },
  "hsl": {
    "h": 250.189,
    "s": 72.603,
    "l": 28.627
  },
  "oklch": {
    "l": 0.30735,
    "c": 0.16285,
    "h": 278.6
  },
  "luminance": 0.02419
}

Semantic roles & 50–950 ramp

primary
#26147E
secondary
#9FB33A
accent
#EF38D0
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08030F
muted
#7B787F

Preview Lab

Preview with #26147E

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

Preview Lab → · Contrast checker → · Palette generator →

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