#26145F#26145F

#26145F is a dark, vivid violet. Relative luminance 0.017; OKLCH L 27.3% C 0.124 H 285.8°. Best body text is #FFFFFF at 15.58:1 contrast (WCAG AA passes).

Color values

HEX#26145F
RGBrgb(38, 20, 95)
HSLhsl(254, 65%, 23%)
HSVhsv(254, 79%, 37%)
CMYKcmyk(60%, 78.9%, 0%, 62.7%)
CIE-LABlab(14.05, 30.47, -41.33)
CIE-LCHlch(14.05, 51.35, 306.40°)
OKLaboklab(27.26% 0.0338 -0.1189)
OKLCHoklch(27.26% 0.124 285.8)
XYZxyz(3.1144, 1.7384, 10.9957)
Luminance0.0174 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#26145F #4D5F14
analogous
#14285F #26145F #4B145F
triadic
#26145F #5F2614 #145F26
tetradic
#26145F #5F1428 #4D5F14 #145F4B
square
#26145F #5F1428 #4D5F14 #145F4B
split-complementary
#26145F #5F4B14 #285F14
monochromatic
#0A0519 #12092C #26145F #3A1F92 #4E29C4

Accessibility & contrast

On white

15.58
#26145F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#26145F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #26145F
15.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##26145F#FFFFFF#000000##FFFFFF
##26145F1.0015.581.3515.58
#FFFFFF15.581.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002661
Deuteranopia (green-blind)
#00215E
Tritanopia (blue-blind)
#0B2938
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #26145f;
/* rgb */ color: rgb(38, 20, 95);
/* oklch */ color: oklch(27.3% 0.124 285.8);
Tailwind
colors: {
  custom: {
    50: '#68548d',
    500: '#26145f',
    950: '#000000',
  },
}
SCSS
$custom: #26145f;
$custom-light: #68548d;
$custom-dark: #000000;
JSON
{
  "hex": "#26145f",
  "rgb": {
    "r": 38,
    "g": 20,
    "b": 95
  },
  "hsl": {
    "h": 254.4,
    "s": 65.217,
    "l": 22.549
  },
  "oklch": {
    "l": 0.27255,
    "c": 0.12365,
    "h": 285.8
  },
  "luminance": 0.01739
}

Semantic roles & 50–950 ramp

primary
#26145F
secondary
#809738
accent
#E840C0
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#07030C
muted
#7A787D

Preview Lab

Preview with #26145F

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

Preview Lab → · Contrast checker → · Palette generator →

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