#26107B#26107B

#26107B is a dark, vivid violet. Relative luminance 0.022; OKLCH L 30.0% C 0.162 H 279.6°. Best body text is #FFFFFF at 14.56:1 contrast (WCAG AA passes).

Color values

HEX#26107B
RGBrgb(38, 16, 123)
HSLhsl(252, 77%, 27%)
HSVhsv(252, 87%, 48%)
CMYKcmyk(69.1%, 87%, 0%, 51.8%)
CIE-LABlab(16.56, 41.30, -55.46)
CIE-LCHlch(16.56, 69.15, 306.67°)
OKLaboklab(29.95% 0.0271 -0.1601)
OKLCHoklch(29.95% 0.162 279.6)
XYZxyz(4.5586, 2.2123, 18.9218)
Luminance0.0221 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#26107B #657B10
analogous
#10307B #26107B #5B107B
triadic
#26107B #7B2610 #107B26
tetradic
#26107B #7B1030 #657B10 #107B5B
square
#26107B #7B1030 #657B10 #107B5B
split-complementary
#26107B #7B5B10 #307B10
monochromatic
#08041B #150945 #26107B #3717B1 #4A23E2

Accessibility & contrast

On white

14.56
#26107B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#26107B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #26107B
14.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##26107B#FFFFFF#000000##FFFFFF
##26107B1.0014.561.4414.56
#FFFFFF14.561.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D7E
Deuteranopia (green-blind)
#002579
Tritanopia (blue-blind)
#003347
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #26107b;
/* rgb */ color: rgb(38, 16, 123);
/* oklch */ color: oklch(30.0% 0.162 279.6);
Tailwind
colors: {
  custom: {
    50: '#6f54a2',
    500: '#26107b',
    950: '#000000',
  },
}
SCSS
$custom: #26107b;
$custom-light: #6f54a2;
$custom-dark: #000000;
JSON
{
  "hex": "#26107b",
  "rgb": {
    "r": 38,
    "g": 16,
    "b": 123
  },
  "hsl": {
    "h": 252.336,
    "s": 76.978,
    "l": 27.255
  },
  "oklch": {
    "l": 0.29953,
    "c": 0.16239,
    "h": 279.6
  },
  "luminance": 0.02213
}

Semantic roles & 50–950 ramp

primary
#26107B
secondary
#98B235
accent
#F434CC
background
#F7F5FA
surface
#EDE8F4
border
#C8C4CE
text
#08030F
muted
#7B787F

Preview Lab

Preview with #26107B

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

Preview Lab → · Contrast checker → · Palette generator →

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