#270D4F#270D4F

#270D4F is a very dark, moderate violet. Relative luminance 0.013; OKLCH L 24.7% C 0.111 H 294.7°. Best body text is #FFFFFF at 16.71:1 contrast (WCAG AA passes).

Color values

HEX#270D4F
RGBrgb(39, 13, 79)
HSLhsl(264, 72%, 18%)
HSVhsv(264, 84%, 31%)
CMYKcmyk(50.6%, 83.5%, 0%, 69%)
CIE-LABlab(11.16, 29.44, -35.22)
CIE-LCHlch(11.16, 45.91, 309.90°)
OKLaboklab(24.75% 0.0465 -0.101)
OKLCHoklch(24.75% 0.111 294.7)
XYZxyz(2.3915, 1.2836, 7.5174)
Luminance0.0128 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#270D4F #354F0D
analogous
#0D144F #270D4F #480D4F
triadic
#270D4F #4F270D #0D4F27
tetradic
#270D4F #4F0D14 #354F0D #0D4F48
square
#270D4F #4F0D14 #354F0D #0D4F48
split-complementary
#270D4F #4F480D #144F0D
monochromatic
#0D041A #0D041A #270D4F #411684 #5B1EB8

Accessibility & contrast

On white

16.71
#270D4F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.26
#270D4F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #270D4F
16.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##270D4F#FFFFFF#000000##FFFFFF
##270D4F1.0016.711.2616.71
#FFFFFF16.711.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E51
Deuteranopia (green-blind)
#001D4E
Tritanopia (blue-blind)
#1B1F2D
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #270d4f;
/* rgb */ color: rgb(39, 13, 79);
/* oklch */ color: oklch(24.7% 0.111 294.7);
Tailwind
colors: {
  custom: {
    50: '#664f81',
    500: '#270d4f',
    950: '#000000',
  },
}
SCSS
$custom: #270d4f;
$custom-light: #664f81;
$custom-dark: #000000;
JSON
{
  "hex": "#270d4f",
  "rgb": {
    "r": 39,
    "g": 13,
    "b": 79
  },
  "hsl": {
    "h": 263.636,
    "s": 71.739,
    "l": 18.039
  },
  "oklch": {
    "l": 0.24745,
    "c": 0.11117,
    "h": 294.7
  },
  "luminance": 0.01284
}

Semantic roles & 50–950 ramp

primary
#270D4F
secondary
#668A2E
accent
#EE39A7
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#06020A
muted
#7A787C

Preview Lab

Preview with #270D4F

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

Preview Lab → · Contrast checker → · Palette generator →

#270D4F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva