#260339#260339

#260339 is a very dark, moderate violet. Relative luminance 0.008; OKLCH L 21.1% C 0.099 H 309.9°. Best body text is #FFFFFF at 18.19:1 contrast (WCAG AA passes).

Color values

HEX#260339
RGBrgb(38, 3, 57)
HSLhsl(279, 90%, 12%)
HSVhsv(279, 95%, 22%)
CMYKcmyk(33.3%, 94.7%, 0%, 77.6%)
CIE-LABlab(6.98, 28.30, -26.51)
CIE-LCHlch(6.98, 38.78, 316.87°)
OKLaboklab(21.08% 0.0633 -0.0756)
OKLCHoklch(21.08% 0.099 309.9)
XYZxyz(1.5703, 0.7726, 3.9365)
Luminance0.0077 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#260339 #163903
analogous
#0B0339 #260339 #390331
triadic
#260339 #392603 #033926
tetradic
#260339 #390B03 #163903 #033139
square
#260339 #390B03 #163903 #033139
split-complementary
#260339 #313903 #03390B
monochromatic
#13021D #13021D #260339 #4D0673 #7409AD

Accessibility & contrast

On white

18.19
#260339 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.15
#260339 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #260339
18.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##260339#FFFFFF#000000##FFFFFF
##2603391.0018.191.1518.19
#FFFFFF18.191.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00143A
Deuteranopia (green-blind)
#001638
Tritanopia (blue-blind)
#23101E
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #260339;
/* rgb */ color: rgb(38, 3, 57);
/* oklch */ color: oklch(21.1% 0.099 309.9);
Tailwind
colors: {
  custom: {
    50: '#634870',
    500: '#260339',
    950: '#000000',
  },
}
SCSS
$custom: #260339;
$custom-light: #634870;
$custom-dark: #000000;
JSON
{
  "hex": "#260339",
  "rgb": {
    "r": 38,
    "g": 3,
    "b": 57
  },
  "hsl": {
    "h": 278.889,
    "s": 90,
    "l": 11.765
  },
  "oklch": {
    "l": 0.21079,
    "c": 0.09855,
    "h": 309.9
  },
  "luminance": 0.00773
}

Semantic roles & 50–950 ramp

primary
#260339
secondary
#3E7C1C
accent
#FF2974
background
#F6F4F6
surface
#EBE6EC
border
#C6C2C7
text
#050007
muted
#7A777A

Preview Lab

Preview with #260339

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

Preview Lab → · Contrast checker → · Palette generator →

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