#26147B#26147B

#26147B is a dark, vivid violet. Relative luminance 0.023; OKLCH L 30.4% C 0.159 H 279.1°. Best body text is #FFFFFF at 14.30:1 contrast (WCAG AA passes).

Color values

HEX#26147B
RGBrgb(38, 20, 123)
HSLhsl(250, 72%, 28%)
HSVhsv(250, 84%, 48%)
CMYKcmyk(69.1%, 83.7%, 0%, 51.8%)
CIE-LABlab(17.19, 39.47, -54.43)
CIE-LCHlch(17.19, 67.23, 305.95°)
OKLaboklab(30.38% 0.0252 -0.1572)
OKLCHoklch(30.38% 0.159 279.1)
XYZxyz(4.6235, 2.3421, 18.9435)
Luminance0.0234 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#26147B #697B14
analogous
#14367B #26147B #59147B
triadic
#26147B #7B2614 #147B26
tetradic
#26147B #7B1436 #697B14 #147B59
square
#26147B #7B1436 #697B14 #147B59
split-complementary
#26147B #7B5914 #367B14
monochromatic
#08041A #160B46 #26147B #361DB0 #4B2DDD

Accessibility & contrast

On white

14.30
#26147B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #26147B
14.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##26147B#FFFFFF#000000##FFFFFF
##26147B1.0014.301.4714.30
#FFFFFF14.301.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E7E
Deuteranopia (green-blind)
#002679
Tritanopia (blue-blind)
#003448
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #26147b;
/* rgb */ color: rgb(38, 20, 123);
/* oklch */ color: oklch(30.4% 0.159 279.1);
Tailwind
colors: {
  custom: {
    50: '#6e55a2',
    500: '#26147b',
    950: '#000000',
  },
}
SCSS
$custom: #26147b;
$custom-light: #6e55a2;
$custom-dark: #000000;
JSON
{
  "hex": "#26147b",
  "rgb": {
    "r": 38,
    "g": 20,
    "b": 123
  },
  "hsl": {
    "h": 250.485,
    "s": 72.028,
    "l": 28.039
  },
  "oklch": {
    "l": 0.30384,
    "c": 0.15919,
    "h": 279.1
  },
  "luminance": 0.02342
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #26147B

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

Preview Lab → · Contrast checker → · Palette generator →

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