#26125D#26125D

#26125D is a dark, vivid violet. Relative luminance 0.016; OKLCH L 26.8% C 0.123 H 287.0°. Best body text is #FFFFFF at 15.83:1 contrast (WCAG AA passes).

Color values

HEX#26125D
RGBrgb(38, 18, 93)
HSLhsl(256, 68%, 22%)
HSVhsv(256, 81%, 36%)
CMYKcmyk(59.1%, 80.6%, 0%, 63.5%)
CIE-LABlab(13.44, 30.95, -40.99)
CIE-LCHlch(13.44, 51.36, 307.06°)
OKLaboklab(26.76% 0.036 -0.1179)
OKLCHoklch(26.76% 0.123 287)
XYZxyz(2.9908, 1.6348, 10.5118)
Luminance0.0163 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#26125D #495D12
analogous
#12245D #26125D #4C125D
triadic
#26125D #5D2612 #125D26
tetradic
#26125D #5D1224 #495D12 #125D4C
square
#26125D #5D1224 #495D12 #125D4C
split-complementary
#26125D #5D4C12 #245D12
monochromatic
#0A051A #11082A #26125D #3B1C90 #5026C4

Accessibility & contrast

On white

15.83
#26125D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#26125D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #26125D
15.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##26125D#FFFFFF#000000##FFFFFF
##26125D1.0015.831.3315.83
#FFFFFF15.831.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00245F
Deuteranopia (green-blind)
#00205C
Tritanopia (blue-blind)
#0E2736
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #26125d;
/* rgb */ color: rgb(38, 18, 93);
/* oklch */ color: oklch(26.8% 0.123 287.0);
Tailwind
colors: {
  custom: {
    50: '#68528c',
    500: '#26125d',
    950: '#000000',
  },
}
SCSS
$custom: #26125d;
$custom-light: #68528c;
$custom-dark: #000000;
JSON
{
  "hex": "#26125d",
  "rgb": {
    "r": 38,
    "g": 18,
    "b": 93
  },
  "hsl": {
    "h": 256,
    "s": 67.568,
    "l": 21.765
  },
  "oklch": {
    "l": 0.26762,
    "c": 0.12333,
    "h": 287
  },
  "luminance": 0.01635
}

Semantic roles & 50–950 ramp

primary
#26125D
secondary
#7C9535
accent
#EA3DBC
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#07020C
muted
#7A787D

Preview Lab

Preview with #26125D

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

Preview Lab → · Contrast checker → · Palette generator →

#26125D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva