#26146C#26146C

#26146C is a dark, vivid violet. Relative luminance 0.020; OKLCH L 28.7% C 0.141 H 282.3°. Best body text is #FFFFFF at 15.01:1 contrast (WCAG AA passes).

Color values

HEX#26146C
RGBrgb(38, 20, 108)
HSLhsl(252, 69%, 25%)
HSVhsv(252, 81%, 42%)
CMYKcmyk(64.8%, 81.5%, 0%, 57.6%)
CIE-LABlab(15.46, 34.69, -47.59)
CIE-LCHlch(15.46, 58.89, 306.09°)
OKLaboklab(28.67% 0.03 -0.1373)
OKLCHoklch(28.67% 0.141 282.3)
XYZxyz(3.7554, 1.9948, 14.3716)
Luminance0.0199 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#26146C #5A6C14
analogous
#142E6C #26146C #52146C
triadic
#26146C #6C2614 #146C26
tetradic
#26146C #6C142E #5A6C14 #146C52
square
#26146C #6C142E #5A6C14 #146C52
split-complementary
#26146C #6C5214 #2E6C14
monochromatic
#09051A #140A38 #26146C #381EA0 #4A27D3

Accessibility & contrast

On white

15.01
#26146C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #26146C
15.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##26146C#FFFFFF#000000##FFFFFF
##26146C1.0015.011.4015.01
#FFFFFF15.011.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00296E
Deuteranopia (green-blind)
#00246A
Tritanopia (blue-blind)
#002E40
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #26146c;
/* rgb */ color: rgb(38, 20, 108);
/* oklch */ color: oklch(28.7% 0.141 282.3);
Tailwind
colors: {
  custom: {
    50: '#6b5497',
    500: '#26146c',
    950: '#000000',
  },
}
SCSS
$custom: #26146c;
$custom-light: #6b5497;
$custom-dark: #000000;
JSON
{
  "hex": "#26146c",
  "rgb": {
    "r": 38,
    "g": 20,
    "b": 108
  },
  "hsl": {
    "h": 252.273,
    "s": 68.75,
    "l": 25.098
  },
  "oklch": {
    "l": 0.2867,
    "c": 0.1405,
    "h": 282.3
  },
  "luminance": 0.01995
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #26146C

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

Preview Lab → · Contrast checker → · Palette generator →

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