#260542#260542

#260542 is a very dark, moderate violet. Relative luminance 0.009; OKLCH L 22.3% C 0.105 H 303.0°. Best body text is #FFFFFF at 17.75:1 contrast (WCAG AA passes).

Color values

HEX#260542
RGBrgb(38, 5, 66)
HSLhsl(272, 86%, 14%)
HSVhsv(272, 92%, 26%)
CMYKcmyk(42.4%, 92.4%, 0%, 74.1%)
CIE-LABlab(8.25, 29.63, -30.90)
CIE-LCHlch(8.25, 42.81, 313.80°)
OKLaboklab(22.28% 0.0573 -0.0882)
OKLCHoklch(22.28% 0.105 303)
XYZxyz(1.8367, 0.9140, 5.2328)
Luminance0.0091 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#260542 #214205
analogous
#080542 #260542 #420540
triadic
#260542 #422605 #054226
tetradic
#260542 #420805 #214205 #054042
square
#260542 #420805 #214205 #054042
split-complementary
#260542 #404205 #054208
monochromatic
#10021C #10021C #260542 #47097B #680EB4

Accessibility & contrast

On white

17.75
#260542 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.18
#260542 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #260542
17.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##260542#FFFFFF#000000##FFFFFF
##2605421.0017.751.1817.75
#FFFFFF17.751.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001744
Deuteranopia (green-blind)
#001841
Tritanopia (blue-blind)
#201624
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #260542;
/* rgb */ color: rgb(38, 5, 66);
/* oklch */ color: oklch(22.3% 0.105 303.0);
Tailwind
colors: {
  custom: {
    50: '#644a77',
    500: '#260542',
    950: '#000000',
  },
}
SCSS
$custom: #260542;
$custom-light: #644a77;
$custom-dark: #000000;
JSON
{
  "hex": "#260542",
  "rgb": {
    "r": 38,
    "g": 5,
    "b": 66
  },
  "hsl": {
    "h": 272.459,
    "s": 85.915,
    "l": 13.922
  },
  "oklch": {
    "l": 0.22275,
    "c": 0.10522,
    "h": 303
  },
  "luminance": 0.00914
}

Semantic roles & 50–950 ramp

primary
#260542
secondary
#4D8220
accent
#FC2C8B
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060109
muted
#7A777B

Preview Lab

Preview with #260542

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

Preview Lab → · Contrast checker → · Palette generator →

#260542 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva