#26146D#26146D

#26146D is a dark, vivid violet. Relative luminance 0.020; OKLCH L 28.8% C 0.142 H 282.1°. Best body text is #FFFFFF at 14.96:1 contrast (WCAG AA passes).

Color values

HEX#26146D
RGBrgb(38, 20, 109)
HSLhsl(252, 69%, 25%)
HSVhsv(252, 82%, 43%)
CMYKcmyk(65.1%, 81.7%, 0%, 57.3%)
CIE-LABlab(15.57, 35.02, -48.06)
CIE-LCHlch(15.57, 59.46, 306.08°)
OKLaboklab(28.78% 0.0297 -0.1386)
OKLCHoklch(28.78% 0.142 282.1)
XYZxyz(3.8089, 2.0162, 14.6535)
Luminance0.0202 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#26146D #5B6D14
analogous
#142E6D #26146D #52146D
triadic
#26146D #6D2614 #146D26
tetradic
#26146D #6D142E #5B6D14 #146D52
square
#26146D #6D142E #5B6D14 #146D52
split-complementary
#26146D #6D5214 #2E6D14
monochromatic
#09051A #140B39 #26146D #381DA1 #4A27D4

Accessibility & contrast

On white

14.96
#26146D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#26146D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #26146D
14.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##26146D#FFFFFF#000000##FFFFFF
##26146D1.0014.961.4014.96
#FFFFFF14.961.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF14.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A6F
Deuteranopia (green-blind)
#00246B
Tritanopia (blue-blind)
#002E40
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #26146d;
/* rgb */ color: rgb(38, 20, 109);
/* oklch */ color: oklch(28.8% 0.142 282.1);
Tailwind
colors: {
  custom: {
    50: '#6b5498',
    500: '#26146d',
    950: '#000000',
  },
}
SCSS
$custom: #26146d;
$custom-light: #6b5498;
$custom-dark: #000000;
JSON
{
  "hex": "#26146d",
  "rgb": {
    "r": 38,
    "g": 20,
    "b": 109
  },
  "hsl": {
    "h": 252.135,
    "s": 68.992,
    "l": 25.294
  },
  "oklch": {
    "l": 0.28782,
    "c": 0.14176,
    "h": 282.1
  },
  "luminance": 0.02017
}

Semantic roles & 50–950 ramp

primary
#26146D
secondary
#8EA439
accent
#EC3CC8
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #26146D

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

Preview Lab → · Contrast checker → · Palette generator →

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