#260538#260538

#260538 is a very dark, moderate violet. Relative luminance 0.008; OKLCH L 21.3% C 0.094 H 310.2°. Best body text is #FFFFFF at 18.08:1 contrast (WCAG AA passes).

Color values

HEX#260538
RGBrgb(38, 5, 56)
HSLhsl(279, 84%, 12%)
HSVhsv(279, 91%, 22%)
CMYKcmyk(32.1%, 91.1%, 0%, 78%)
CIE-LABlab(7.28, 26.91, -25.30)
CIE-LCHlch(7.28, 36.93, 316.77°)
OKLaboklab(21.28% 0.0607 -0.0719)
OKLCHoklch(21.28% 0.094 310.2)
XYZxyz(1.5673, 0.8062, 3.8137)
Luminance0.0081 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#260538 #173805
analogous
#0D0538 #260538 #380531
triadic
#260538 #382605 #053826
tetradic
#260538 #380D05 #173805 #053138
square
#260538 #380D05 #173805 #053138
split-complementary
#260538 #313805 #05380D
monochromatic
#13031C #13031C #260538 #4C0A70 #720FA8

Accessibility & contrast

On white

18.08
#260538 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.16
#260538 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #260538
18.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##260538#FFFFFF#000000##FFFFFF
##2605381.0018.081.1618.08
#FFFFFF18.081.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001539
Deuteranopia (green-blind)
#001737
Tritanopia (blue-blind)
#23111E
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #260538;
/* rgb */ color: rgb(38, 5, 56);
/* oklch */ color: oklch(21.3% 0.094 310.2);
Tailwind
colors: {
  custom: {
    50: '#63496f',
    500: '#260538',
    950: '#000000',
  },
}
SCSS
$custom: #260538;
$custom-light: #63496f;
$custom-dark: #000000;
JSON
{
  "hex": "#260538",
  "rgb": {
    "r": 38,
    "g": 5,
    "b": 56
  },
  "hsl": {
    "h": 278.824,
    "s": 83.607,
    "l": 11.961
  },
  "oklch": {
    "l": 0.21277,
    "c": 0.09409,
    "h": 310.2
  },
  "luminance": 0.00806
}

Semantic roles & 50–950 ramp

primary
#260538
secondary
#3F7920
accent
#FA2E76
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#050107
muted
#7A777A

Preview Lab

Preview with #260538

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

Preview Lab → · Contrast checker → · Palette generator →

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