#26107C#26107C

#26107C is a dark, vivid violet. Relative luminance 0.022; OKLCH L 30.1% C 0.164 H 279.4°. Best body text is #FFFFFF at 14.51:1 contrast (WCAG AA passes).

Color values

HEX#26107C
RGBrgb(38, 16, 124)
HSLhsl(252, 77%, 27%)
HSVhsv(252, 87%, 49%)
CMYKcmyk(69.4%, 87.1%, 0%, 51.4%)
CIE-LABlab(16.69, 41.60, -55.90)
CIE-LCHlch(16.69, 69.68, 306.66°)
OKLaboklab(30.07% 0.0267 -0.1614)
OKLCHoklch(30.07% 0.164 279.4)
XYZxyz(4.6215, 2.2375, 19.2532)
Luminance0.0224 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#26107C #667C10
analogous
#10307C #26107C #5C107C
triadic
#26107C #7C2610 #107C26
tetradic
#26107C #7C1030 #667C10 #107C5C
square
#26107C #7C1030 #667C10 #107C5C
split-complementary
#26107C #7C5C10 #307C10
monochromatic
#08031B #150946 #26107C #3717B2 #4B24E3

Accessibility & contrast

On white

14.51
#26107C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #26107C
14.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##26107C#FFFFFF#000000##FFFFFF
##26107C1.0014.511.4514.51
#FFFFFF14.511.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.511.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #26107c;
/* rgb */ color: rgb(38, 16, 124);
/* oklch */ color: oklch(30.1% 0.164 279.4);
Tailwind
colors: {
  custom: {
    50: '#6f54a3',
    500: '#26107c',
    950: '#000000',
  },
}
SCSS
$custom: #26107c;
$custom-light: #6f54a3;
$custom-dark: #000000;
JSON
{
  "hex": "#26107c",
  "rgb": {
    "r": 38,
    "g": 16,
    "b": 124
  },
  "hsl": {
    "h": 252.222,
    "s": 77.143,
    "l": 27.451
  },
  "oklch": {
    "l": 0.30074,
    "c": 0.16359,
    "h": 279.4
  },
  "luminance": 0.02238
}

Semantic roles & 50–950 ramp

primary
#26107C
secondary
#99B235
accent
#F434CD
background
#F7F5FA
surface
#EDE8F4
border
#C8C4CE
text
#08030F
muted
#7B787F

Preview Lab

Preview with #26107C

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

Preview Lab → · Contrast checker → · Palette generator →

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