#26107F#26107F

#26107F is a dark, vivid violet. Relative luminance 0.023; OKLCH L 30.4% C 0.167 H 278.8°. Best body text is #FFFFFF at 14.35:1 contrast (WCAG AA passes).

Color values

HEX#26107F
RGBrgb(38, 16, 127)
HSLhsl(252, 78%, 28%)
HSVhsv(252, 87%, 50%)
CMYKcmyk(70.1%, 87.4%, 0%, 50.2%)
CIE-LABlab(17.06, 42.51, -57.20)
CIE-LCHlch(17.06, 71.26, 306.62°)
OKLaboklab(30.44% 0.0256 -0.1652)
OKLCHoklch(30.44% 0.167 278.8)
XYZxyz(4.8142, 2.3145, 20.2676)
Luminance0.0232 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#26107F #697F10
analogous
#10317F #26107F #5D107F
triadic
#26107F #7F2610 #107F26
tetradic
#26107F #7F1031 #697F10 #107F5D
square
#26107F #7F1031 #697F10 #107F5D
split-complementary
#26107F #7F5D10 #317F10
monochromatic
#08031B #160949 #26107F #3617B5 #4B26E4

Accessibility & contrast

On white

14.35
#26107F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#26107F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #26107F
14.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##26107F#FFFFFF#000000##FFFFFF
##26107F1.0014.351.4614.35
#FFFFFF14.351.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E82
Deuteranopia (green-blind)
#00267D
Tritanopia (blue-blind)
#00344A
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #26107f;
/* rgb */ color: rgb(38, 16, 127);
/* oklch */ color: oklch(30.4% 0.167 278.8);
Tailwind
colors: {
  custom: {
    50: '#7054a5',
    500: '#26107f',
    950: '#000000',
  },
}
SCSS
$custom: #26107f;
$custom-light: #7054a5;
$custom-dark: #000000;
JSON
{
  "hex": "#26107f",
  "rgb": {
    "r": 38,
    "g": 16,
    "b": 127
  },
  "hsl": {
    "h": 251.892,
    "s": 77.622,
    "l": 28.039
  },
  "oklch": {
    "l": 0.30435,
    "c": 0.16714,
    "h": 278.8
  },
  "luminance": 0.02315
}

Semantic roles & 50–950 ramp

primary
#26107F
secondary
#9CB536
accent
#F434CE
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#09030F
muted
#7B787F

Preview Lab

Preview with #26107F

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

Preview Lab → · Contrast checker → · Palette generator →

#26107F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva