#26105F#26105F

#26105F is a dark, vivid violet. Relative luminance 0.016; OKLCH L 26.7% C 0.128 H 286.8°. Best body text is #FFFFFF at 15.89:1 contrast (WCAG AA passes).

Color values

HEX#26105F
RGBrgb(38, 16, 95)
HSLhsl(257, 71%, 22%)
HSVhsv(257, 83%, 37%)
CMYKcmyk(60%, 83.2%, 0%, 62.7%)
CIE-LABlab(13.28, 32.66, -42.59)
CIE-LCHlch(13.28, 53.67, 307.49°)
OKLaboklab(26.72% 0.037 -0.1226)
OKLCHoklch(26.72% 0.128 286.8)
XYZxyz(3.0496, 1.6087, 10.9741)
Luminance0.0161 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#26105F #495F10
analogous
#10225F #26105F #4E105F
triadic
#26105F #5F2610 #105F26
tetradic
#26105F #5F1022 #495F10 #105F4E
square
#26105F #5F1022 #495F10 #105F4E
split-complementary
#26105F #5F4E10 #225F10
monochromatic
#0A041A #11072B #26105F #3B1993 #5022C8

Accessibility & contrast

On white

15.89
#26105F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#26105F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #26105F
15.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##26105F#FFFFFF#000000##FFFFFF
##26105F1.0015.891.3215.89
#FFFFFF15.891.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002461
Deuteranopia (green-blind)
#00205E
Tritanopia (blue-blind)
#0B2737
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #26105f;
/* rgb */ color: rgb(38, 16, 95);
/* oklch */ color: oklch(26.7% 0.128 286.8);
Tailwind
colors: {
  custom: {
    50: '#68518d',
    500: '#26105f',
    950: '#000000',
  },
}
SCSS
$custom: #26105f;
$custom-light: #68518d;
$custom-dark: #000000;
JSON
{
  "hex": "#26105f",
  "rgb": {
    "r": 38,
    "g": 16,
    "b": 95
  },
  "hsl": {
    "h": 256.709,
    "s": 71.171,
    "l": 21.765
  },
  "oklch": {
    "l": 0.26718,
    "c": 0.12807,
    "h": 286.8
  },
  "luminance": 0.01609
}

Semantic roles & 50–950 ramp

primary
#26105F
secondary
#7C9833
accent
#EE3ABC
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#07020C
muted
#7A787D

Preview Lab

Preview with #26105F

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

Preview Lab → · Contrast checker → · Palette generator →

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