#260338#260338

#260338 is a very dark, moderate violet. Relative luminance 0.008; OKLCH L 21.0% C 0.098 H 310.7°. Best body text is #FFFFFF at 18.22:1 contrast (WCAG AA passes).

Color values

HEX#260338
RGBrgb(38, 3, 56)
HSLhsl(280, 90%, 12%)
HSVhsv(280, 95%, 22%)
CMYKcmyk(32.1%, 94.6%, 0%, 78%)
CIE-LABlab(6.89, 28.01, -25.93)
CIE-LCHlch(6.89, 38.17, 317.21°)
OKLaboklab(20.98% 0.0636 -0.0739)
OKLCHoklch(20.98% 0.098 310.7)
XYZxyz(1.5456, 0.7628, 3.8064)
Luminance0.0076 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#260338 #153803
analogous
#0C0338 #260338 #380330
triadic
#260338 #382603 #033826
tetradic
#260338 #380C03 #153803 #033038
square
#260338 #380C03 #153803 #033038
split-complementary
#260338 #303803 #03380C
monochromatic
#14021D #14021D #260338 #4D0672 #7509AC

Accessibility & contrast

On white

18.22
#260338 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #260338
18.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##260338#FFFFFF#000000##FFFFFF
##2603381.0018.221.1518.22
#FFFFFF18.221.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001439
Deuteranopia (green-blind)
#001637
Tritanopia (blue-blind)
#23101E
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #260338;
/* rgb */ color: rgb(38, 3, 56);
/* oklch */ color: oklch(21.0% 0.098 310.7);
Tailwind
colors: {
  custom: {
    50: '#63486f',
    500: '#260338',
    950: '#000000',
  },
}
SCSS
$custom: #260338;
$custom-light: #63486f;
$custom-dark: #000000;
JSON
{
  "hex": "#260338",
  "rgb": {
    "r": 38,
    "g": 3,
    "b": 56
  },
  "hsl": {
    "h": 279.623,
    "s": 89.831,
    "l": 11.569
  },
  "oklch": {
    "l": 0.2098,
    "c": 0.0975,
    "h": 310.7
  },
  "luminance": 0.00763
}

Semantic roles & 50–950 ramp

primary
#260338
secondary
#3C7B1C
accent
#FF2972
background
#F6F4F6
surface
#EBE6EC
border
#C6C2C7
text
#050007
muted
#7A777A

Preview Lab

Preview with #260338

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

Preview Lab → · Contrast checker → · Palette generator →

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