#26145E#26145E

#26145E is a dark, vivid violet. Relative luminance 0.017; OKLCH L 27.2% C 0.122 H 286.1°. Best body text is #FFFFFF at 15.62:1 contrast (WCAG AA passes).

Color values

HEX#26145E
RGBrgb(38, 20, 94)
HSLhsl(255, 65%, 22%)
HSVhsv(255, 79%, 37%)
CMYKcmyk(59.6%, 78.7%, 0%, 63.1%)
CIE-LABlab(13.95, 30.15, -40.83)
CIE-LCHlch(13.95, 50.75, 306.44°)
OKLaboklab(27.15% 0.034 -0.1175)
OKLCHoklch(27.15% 0.122 286.1)
XYZxyz(3.0693, 1.7204, 10.7578)
Luminance0.0172 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#26145E #4C5E14
analogous
#14275E #26145E #4B145E
triadic
#26145E #5E2614 #145E26
tetradic
#26145E #5E1427 #4C5E14 #145E4B
square
#26145E #5E1427 #4C5E14 #145E4B
split-complementary
#26145E #5E4B14 #275E14
monochromatic
#0A0519 #12092C #26145E #3A1F90 #4F29C3

Accessibility & contrast

On white

15.62
#26145E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#26145E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #26145E
15.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##26145E#FFFFFF#000000##FFFFFF
##26145E1.0015.621.3415.62
#FFFFFF15.621.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002560
Deuteranopia (green-blind)
#00215D
Tritanopia (blue-blind)
#0C2838
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #26145e;
/* rgb */ color: rgb(38, 20, 94);
/* oklch */ color: oklch(27.2% 0.122 286.1);
Tailwind
colors: {
  custom: {
    50: '#68548c',
    500: '#26145e',
    950: '#000000',
  },
}
SCSS
$custom: #26145e;
$custom-light: #68548c;
$custom-dark: #000000;
JSON
{
  "hex": "#26145e",
  "rgb": {
    "r": 38,
    "g": 20,
    "b": 94
  },
  "hsl": {
    "h": 254.595,
    "s": 64.912,
    "l": 22.353
  },
  "oklch": {
    "l": 0.2715,
    "c": 0.12233,
    "h": 286.1
  },
  "luminance": 0.01721
}

Semantic roles & 50–950 ramp

primary
#26145E
secondary
#7F9638
accent
#E840BF
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#07030C
muted
#7A787D

Preview Lab

Preview with #26145E

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

Preview Lab → · Contrast checker → · Palette generator →

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