#26146B#26146B

#26146B is a dark, vivid violet. Relative luminance 0.020; OKLCH L 28.6% C 0.139 H 282.6°. Best body text is #FFFFFF at 15.06:1 contrast (WCAG AA passes).

Color values

HEX#26146B
RGBrgb(38, 20, 107)
HSLhsl(252, 69%, 25%)
HSVhsv(252, 81%, 42%)
CMYKcmyk(64.5%, 81.3%, 0%, 58%)
CIE-LABlab(15.35, 34.37, -47.12)
CIE-LCHlch(15.35, 58.32, 306.11°)
OKLaboklab(28.56% 0.0303 -0.1359)
OKLCHoklch(28.56% 0.139 282.6)
XYZxyz(3.7025, 1.9737, 14.0929)
Luminance0.0197 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#26146B #596B14
analogous
#142D6B #26146B #52146B
triadic
#26146B #6B2614 #146B26
tetradic
#26146B #6B142D #596B14 #146B52
square
#26146B #6B142D #596B14 #146B52
split-complementary
#26146B #6B5214 #2D6B14
monochromatic
#09051A #140A37 #26146B #381E9F #4B27D2

Accessibility & contrast

On white

15.06
#26146B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#26146B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #26146B
15.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##26146B#FFFFFF#000000##FFFFFF
##26146B1.0015.061.3915.06
#FFFFFF15.061.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00296D
Deuteranopia (green-blind)
#002369
Tritanopia (blue-blind)
#002D3F
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #26146b;
/* rgb */ color: rgb(38, 20, 107);
/* oklch */ color: oklch(28.6% 0.139 282.6);
Tailwind
colors: {
  custom: {
    50: '#6b5496',
    500: '#26146b',
    950: '#000000',
  },
}
SCSS
$custom: #26146b;
$custom-light: #6b5496;
$custom-dark: #000000;
JSON
{
  "hex": "#26146b",
  "rgb": {
    "r": 38,
    "g": 20,
    "b": 107
  },
  "hsl": {
    "h": 252.414,
    "s": 68.504,
    "l": 24.902
  },
  "oklch": {
    "l": 0.28559,
    "c": 0.13922,
    "h": 282.6
  },
  "luminance": 0.01974
}

Semantic roles & 50–950 ramp

primary
#26146B
secondary
#8CA239
accent
#EB3CC7
background
#F6F5F9
surface
#ECE8F2
border
#C7C4CC
text
#07030D
muted
#7A787E

Preview Lab

Preview with #26146B

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

Preview Lab → · Contrast checker → · Palette generator →

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