#260239#260239

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

Color values

HEX#260239
RGBrgb(38, 2, 57)
HSLhsl(279, 93%, 12%)
HSVhsv(279, 96%, 22%)
CMYKcmyk(33.3%, 96.5%, 0%, 77.6%)
CIE-LABlab(6.78, 28.85, -26.83)
CIE-LCHlch(6.78, 39.40, 317.07°)
OKLaboklab(20.93% 0.0647 -0.0766)
OKLCHoklch(20.93% 0.1 310.2)
XYZxyz(1.5594, 0.7509, 3.9329)
Luminance0.0075 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#260239 #153902
analogous
#0B0239 #260239 #390231
triadic
#260239 #392602 #023926
tetradic
#260239 #390B02 #153902 #023139
square
#260239 #390B02 #153902 #023139
split-complementary
#260239 #313902 #02390B
monochromatic
#14011E #14011E #260239 #4D0474 #7506AF

Accessibility & contrast

On white

18.26
#260239 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #260239
18.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##260239#FFFFFF#000000##FFFFFF
##2602391.0018.261.1518.26
#FFFFFF18.261.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.261.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: #260239;
/* rgb */ color: rgb(38, 2, 57);
/* oklch */ color: oklch(20.9% 0.100 310.2);
Tailwind
colors: {
  custom: {
    50: '#634770',
    500: '#260239',
    950: '#000000',
  },
}
SCSS
$custom: #260239;
$custom-light: #634770;
$custom-dark: #000000;
JSON
{
  "hex": "#260239",
  "rgb": {
    "r": 38,
    "g": 2,
    "b": 57
  },
  "hsl": {
    "h": 279.273,
    "s": 93.22,
    "l": 11.569
  },
  "oklch": {
    "l": 0.20929,
    "c": 0.10029,
    "h": 310.2
  },
  "luminance": 0.00751
}

Semantic roles & 50–950 ramp

primary
#260239
secondary
#3C7D1A
accent
#FF2973
background
#F6F4F6
surface
#EBE6EC
border
#C6C2C7
text
#060007
muted
#7A777A

Preview Lab

Preview with #260239

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

Preview Lab → · Contrast checker → · Palette generator →

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