#26107E#26107E

#26107E is a dark, vivid violet. Relative luminance 0.023; OKLCH L 30.3% C 0.166 H 279.0°. Best body text is #FFFFFF at 14.41:1 contrast (WCAG AA passes).

Color values

HEX#26107E
RGBrgb(38, 16, 126)
HSLhsl(252, 77%, 28%)
HSVhsv(252, 87%, 49%)
CMYKcmyk(69.8%, 87.3%, 0%, 50.6%)
CIE-LABlab(16.93, 42.20, -56.77)
CIE-LCHlch(16.93, 70.74, 306.63°)
OKLaboklab(30.31% 0.026 -0.1639)
OKLCHoklch(30.31% 0.166 279)
XYZxyz(4.7493, 2.2886, 19.9261)
Luminance0.0229 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#26107E #687E10
analogous
#10317E #26107E #5D107E
triadic
#26107E #7E2610 #107E26
tetradic
#26107E #7E1031 #687E10 #107E5D
square
#26107E #7E1031 #687E10 #107E5D
split-complementary
#26107E #7E5D10 #317E10
monochromatic
#08031B #160948 #26107E #3617B4 #4B25E3

Accessibility & contrast

On white

14.41
#26107E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #26107E
14.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##26107E#FFFFFF#000000##FFFFFF
##26107E1.0014.411.4614.41
#FFFFFF14.411.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E81
Deuteranopia (green-blind)
#00257C
Tritanopia (blue-blind)
#003449
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #26107e;
/* rgb */ color: rgb(38, 16, 126);
/* oklch */ color: oklch(30.3% 0.166 279.0);
Tailwind
colors: {
  custom: {
    50: '#6f54a5',
    500: '#26107e',
    950: '#000000',
  },
}
SCSS
$custom: #26107e;
$custom-light: #6f54a5;
$custom-dark: #000000;
JSON
{
  "hex": "#26107e",
  "rgb": {
    "r": 38,
    "g": 16,
    "b": 126
  },
  "hsl": {
    "h": 252,
    "s": 77.465,
    "l": 27.843
  },
  "oklch": {
    "l": 0.30314,
    "c": 0.16595,
    "h": 279
  },
  "luminance": 0.02289
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #26107E

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

Preview Lab → · Contrast checker → · Palette generator →

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