#26117C#26117C

#26117C is a dark, vivid violet. Relative luminance 0.023; OKLCH L 30.2% C 0.163 H 279.3°. Best body text is #FFFFFF at 14.45:1 contrast (WCAG AA passes).

Color values

HEX#26117C
RGBrgb(38, 17, 124)
HSLhsl(252, 76%, 28%)
HSVhsv(252, 86%, 49%)
CMYKcmyk(69.4%, 86.3%, 0%, 51.4%)
CIE-LABlab(16.83, 41.17, -55.66)
CIE-LCHlch(16.83, 69.23, 306.49°)
OKLaboklab(30.17% 0.0263 -0.1607)
OKLCHoklch(30.17% 0.163 279.3)
XYZxyz(4.6367, 2.2678, 19.2583)
Luminance0.0227 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#26117C #677C11
analogous
#11317C #26117C #5C117C
triadic
#26117C #7C2611 #117C26
tetradic
#26117C #7C1131 #677C11 #117C5C
square
#26117C #7C1131 #677C11 #117C5C
split-complementary
#26117C #7C5C11 #317C11
monochromatic
#08041B #160A46 #26117C #3618B2 #4B26E1

Accessibility & contrast

On white

14.45
#26117C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#26117C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #26117C
14.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##26117C#FFFFFF#000000##FFFFFF
##26117C1.0014.451.4514.45
#FFFFFF14.451.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D7F
Deuteranopia (green-blind)
#00257A
Tritanopia (blue-blind)
#003348
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #26117c;
/* rgb */ color: rgb(38, 17, 124);
/* oklch */ color: oklch(30.2% 0.163 279.3);
Tailwind
colors: {
  custom: {
    50: '#6f54a3',
    500: '#26117c',
    950: '#000000',
  },
}
SCSS
$custom: #26117c;
$custom-light: #6f54a3;
$custom-dark: #000000;
JSON
{
  "hex": "#26117c",
  "rgb": {
    "r": 38,
    "g": 17,
    "b": 124
  },
  "hsl": {
    "h": 251.776,
    "s": 75.887,
    "l": 27.647
  },
  "oklch": {
    "l": 0.30174,
    "c": 0.16284,
    "h": 279.3
  },
  "luminance": 0.02268
}

Semantic roles & 50–950 ramp

primary
#26117C
secondary
#9AB237
accent
#F235CD
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08030F
muted
#7B787F

Preview Lab

Preview with #26117C

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

Preview Lab → · Contrast checker → · Palette generator →

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