#26145A#26145A

#26145A is a dark, moderate violet. Relative luminance 0.017; OKLCH L 26.7% C 0.117 H 287.4°. Best body text is #FFFFFF at 15.79:1 contrast (WCAG AA passes).

Color values

HEX#26145A
RGBrgb(38, 20, 90)
HSLhsl(255, 64%, 22%)
HSVhsv(255, 78%, 35%)
CMYKcmyk(57.8%, 77.8%, 0%, 64.7%)
CIE-LABlab(13.53, 28.84, -38.82)
CIE-LCHlch(13.53, 48.36, 306.61°)
OKLaboklab(26.73% 0.0351 -0.1116)
OKLCHoklch(26.73% 0.117 287.4)
XYZxyz(2.8944, 1.6504, 9.8369)
Luminance0.0165 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#26145A #485A14
analogous
#14255A #26145A #49145A
triadic
#26145A #5A2614 #145A26
tetradic
#26145A #5A1425 #485A14 #145A49
square
#26145A #5A1425 #485A14 #145A49
split-complementary
#26145A #5A4914 #255A14
monochromatic
#0B0619 #110928 #26145A #3B1F8C #502ABE

Accessibility & contrast

On white

15.79
#26145A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#26145A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #26145A
15.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##26145A#FFFFFF#000000##FFFFFF
##26145A1.0015.791.3315.79
#FFFFFF15.791.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00245C
Deuteranopia (green-blind)
#002159
Tritanopia (blue-blind)
#112735
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #26145a;
/* rgb */ color: rgb(38, 20, 90);
/* oklch */ color: oklch(26.7% 0.117 287.4);
Tailwind
colors: {
  custom: {
    50: '#675389',
    500: '#26145a',
    950: '#000000',
  },
}
SCSS
$custom: #26145a;
$custom-light: #675389;
$custom-dark: #000000;
JSON
{
  "hex": "#26145a",
  "rgb": {
    "r": 38,
    "g": 20,
    "b": 90
  },
  "hsl": {
    "h": 255.429,
    "s": 63.636,
    "l": 21.569
  },
  "oklch": {
    "l": 0.26733,
    "c": 0.11699,
    "h": 287.4
  },
  "luminance": 0.01651
}

Semantic roles & 50–950 ramp

primary
#26145A
secondary
#7B9238
accent
#E741BC
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06020C
muted
#7A787D

Preview Lab

Preview with #26145A

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

Preview Lab → · Contrast checker → · Palette generator →

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