#26185E#26185E

#26185E is a dark, moderate violet. Relative luminance 0.019; OKLCH L 27.8% C 0.117 H 285.0°. Best body text is #FFFFFF at 15.28:1 contrast (WCAG AA passes).

Color values

HEX#26185E
RGBrgb(38, 24, 94)
HSLhsl(252, 59%, 23%)
HSVhsv(252, 74%, 37%)
CMYKcmyk(59.6%, 74.5%, 0%, 63.1%)
CIE-LABlab(14.81, 27.74, -39.42)
CIE-LCHlch(14.81, 48.20, 305.14°)
OKLaboklab(27.76% 0.0303 -0.1134)
OKLCHoklch(27.76% 0.117 285)
XYZxyz(3.1457, 1.8733, 10.7833)
Luminance0.0187 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#26185E #505E18
analogous
#182D5E #26185E #49185E
triadic
#26185E #5E2618 #185E26
tetradic
#26185E #5E182D #505E18 #185E49
square
#26185E #5E182D #505E18 #185E49
split-complementary
#26185E #5E4918 #2D5E18
monochromatic
#0A0618 #120C2D #26185E #3A248F #4D31C0

Accessibility & contrast

On white

15.28
#26185E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#26185E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #26185E
15.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##26185E#FFFFFF#000000##FFFFFF
##26185E1.0015.281.3715.28
#FFFFFF15.281.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002760
Deuteranopia (green-blind)
#00235D
Tritanopia (blue-blind)
#0C2A39
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #26185e;
/* rgb */ color: rgb(38, 24, 94);
/* oklch */ color: oklch(27.8% 0.117 285.0);
Tailwind
colors: {
  custom: {
    50: '#67568c',
    500: '#26185e',
    950: '#000000',
  },
}
SCSS
$custom: #26185e;
$custom-light: #67568c;
$custom-dark: #000000;
JSON
{
  "hex": "#26185e",
  "rgb": {
    "r": 38,
    "g": 24,
    "b": 94
  },
  "hsl": {
    "h": 252,
    "s": 59.322,
    "l": 23.137
  },
  "oklch": {
    "l": 0.27763,
    "c": 0.11737,
    "h": 285
  },
  "luminance": 0.01873
}

Semantic roles & 50–950 ramp

primary
#26185E
secondary
#83943D
accent
#E345C3
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#06030C
muted
#7A787D

Preview Lab

Preview with #26185E

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

Preview Lab → · Contrast checker → · Palette generator →

#26185E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva