#26145C#26145C

#26145C is a dark, moderate violet. Relative luminance 0.017; OKLCH L 26.9% C 0.120 H 286.8°. Best body text is #FFFFFF at 15.71:1 contrast (WCAG AA passes).

Color values

HEX#26145C
RGBrgb(38, 20, 92)
HSLhsl(255, 64%, 22%)
HSVhsv(255, 78%, 36%)
CMYKcmyk(58.7%, 78.3%, 0%, 63.9%)
CIE-LABlab(13.74, 29.49, -39.83)
CIE-LCHlch(13.74, 49.56, 306.52°)
OKLaboklab(26.94% 0.0346 -0.1146)
OKLCHoklch(26.94% 0.12 286.8)
XYZxyz(2.9807, 1.6849, 10.2913)
Luminance0.0169 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#26145C #4A5C14
analogous
#14265C #26145C #4A145C
triadic
#26145C #5C2614 #145C26
tetradic
#26145C #5C1426 #4A5C14 #145C4A
square
#26145C #5C1426 #4A5C14 #145C4A
split-complementary
#26145C #5C4A14 #265C14
monochromatic
#0A0519 #11092A #26145C #3B1F8E #502AC1

Accessibility & contrast

On white

15.71
#26145C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#26145C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #26145C
15.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##26145C#FFFFFF#000000##FFFFFF
##26145C1.0015.711.3415.71
#FFFFFF15.711.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00255E
Deuteranopia (green-blind)
#00215B
Tritanopia (blue-blind)
#0F2836
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #26145c;
/* rgb */ color: rgb(38, 20, 92);
/* oklch */ color: oklch(26.9% 0.120 286.8);
Tailwind
colors: {
  custom: {
    50: '#67538b',
    500: '#26145c',
    950: '#000000',
  },
}
SCSS
$custom: #26145c;
$custom-light: #67538b;
$custom-dark: #000000;
JSON
{
  "hex": "#26145c",
  "rgb": {
    "r": 38,
    "g": 20,
    "b": 92
  },
  "hsl": {
    "h": 255,
    "s": 64.286,
    "l": 21.961
  },
  "oklch": {
    "l": 0.2694,
    "c": 0.11967,
    "h": 286.8
  },
  "luminance": 0.01685
}

Semantic roles & 50–950 ramp

primary
#26145C
secondary
#7D9438
accent
#E741BE
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06020C
muted
#7A787D

Preview Lab

Preview with #26145C

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

Preview Lab → · Contrast checker → · Palette generator →

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