#271969#271969

#271969 is a dark, vivid violet. Relative luminance 0.021; OKLCH L 29.1% C 0.131 H 282.6°. Best body text is #FFFFFF at 14.69:1 contrast (WCAG AA passes).

Color values

HEX#271969
RGBrgb(39, 25, 105)
HSLhsl(251, 62%, 25%)
HSVhsv(251, 76%, 41%)
CMYKcmyk(62.9%, 76.2%, 0%, 58.8%)
CIE-LABlab(16.24, 31.01, -44.34)
CIE-LCHlch(16.24, 54.11, 304.97°)
OKLaboklab(29.14% 0.0286 -0.1278)
OKLCHoklch(29.14% 0.131 282.6)
XYZxyz(3.7333, 2.1463, 13.5794)
Luminance0.0215 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#271969 #5B6919
analogous
#193369 #271969 #4F1969
triadic
#271969 #692719 #196927
tetradic
#271969 #691933 #5B6919 #19694F
square
#271969 #691933 #5B6919 #19694F
split-complementary
#271969 #694F19 #336919
monochromatic
#090619 #150D38 #271969 #39259A #4C31CC

Accessibility & contrast

On white

14.69
#271969 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#271969 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #271969
14.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##271969#FFFFFF#000000##FFFFFF
##2719691.0014.691.4314.69
#FFFFFF14.691.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B6B
Deuteranopia (green-blind)
#002568
Tritanopia (blue-blind)
#002F3F
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #271969;
/* rgb */ color: rgb(39, 25, 105);
/* oklch */ color: oklch(29.1% 0.131 282.6);
Tailwind
colors: {
  custom: {
    50: '#6a5795',
    500: '#271969',
    950: '#000000',
  },
}
SCSS
$custom: #271969;
$custom-light: #6a5795;
$custom-dark: #000000;
JSON
{
  "hex": "#271969",
  "rgb": {
    "r": 39,
    "g": 25,
    "b": 105
  },
  "hsl": {
    "h": 250.5,
    "s": 61.538,
    "l": 25.49
  },
  "oklch": {
    "l": 0.29144,
    "c": 0.13095,
    "h": 282.6
  },
  "luminance": 0.02147
}

Semantic roles & 50–950 ramp

primary
#271969
secondary
#8E9F3F
accent
#E543C8
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07030D
muted
#7A787E

Preview Lab

Preview with #271969

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

Preview Lab → · Contrast checker → · Palette generator →

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