#26175F#26175F

#26175F is a dark, vivid violet. Relative luminance 0.019; OKLCH L 27.7% C 0.120 H 285.0°. Best body text is #FFFFFF at 15.33:1 contrast (WCAG AA passes).

Color values

HEX#26175F
RGBrgb(38, 23, 95)
HSLhsl(253, 61%, 23%)
HSVhsv(253, 76%, 37%)
CMYKcmyk(60%, 75.8%, 0%, 62.7%)
CIE-LABlab(14.68, 28.70, -40.28)
CIE-LCHlch(14.68, 49.46, 305.46°)
OKLaboklab(27.71% 0.0311 -0.1159)
OKLCHoklch(27.71% 0.12 285)
XYZxyz(3.1707, 1.8509, 11.0144)
Luminance0.0185 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#26175F #505F17
analogous
#172C5F #26175F #4A175F
triadic
#26175F #5F2617 #175F26
tetradic
#26175F #5F172C #505F17 #175F4A
square
#26175F #5F172C #505F17 #175F4A
split-complementary
#26175F #5F4A17 #2C5F17
monochromatic
#0A0619 #120B2E #26175F #3A2390 #4D2FC2

Accessibility & contrast

On white

15.33
#26175F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#26175F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #26175F
15.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##26175F#FFFFFF#000000##FFFFFF
##26175F1.0015.331.3715.33
#FFFFFF15.331.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002761
Deuteranopia (green-blind)
#00235E
Tritanopia (blue-blind)
#0B2A39
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #26175f;
/* rgb */ color: rgb(38, 23, 95);
/* oklch */ color: oklch(27.7% 0.120 285.0);
Tailwind
colors: {
  custom: {
    50: '#68558d',
    500: '#26175f',
    950: '#000000',
  },
}
SCSS
$custom: #26175f;
$custom-light: #68558d;
$custom-dark: #000000;
JSON
{
  "hex": "#26175f",
  "rgb": {
    "r": 38,
    "g": 23,
    "b": 95
  },
  "hsl": {
    "h": 252.5,
    "s": 61.017,
    "l": 23.137
  },
  "oklch": {
    "l": 0.27705,
    "c": 0.12001,
    "h": 285
  },
  "luminance": 0.01851
}

Semantic roles & 50–950 ramp

primary
#26175F
secondary
#83963C
accent
#E444C3
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#07030C
muted
#7A787D

Preview Lab

Preview with #26175F

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

Preview Lab → · Contrast checker → · Palette generator →

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