#270A3D#270A3D

#270A3D is a very dark, moderate violet. Relative luminance 0.010; OKLCH L 22.6% C 0.093 H 306.1°. Best body text is #FFFFFF at 17.54:1 contrast (WCAG AA passes).

Color values

HEX#270A3D
RGBrgb(39, 10, 61)
HSLhsl(274, 72%, 14%)
HSVhsv(274, 84%, 24%)
CMYKcmyk(36.1%, 83.6%, 0%, 76.1%)
CIE-LABlab(8.87, 25.77, -26.32)
CIE-LCHlch(8.87, 36.84, 314.39°)
OKLaboklab(22.59% 0.0546 -0.0748)
OKLCHoklch(22.59% 0.093 306.1)
XYZxyz(1.7874, 0.9854, 4.5100)
Luminance0.0098 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#270A3D #203D0A
analogous
#0E0A3D #270A3D #3D0A3A
triadic
#270A3D #3D270A #0A3D27
tetradic
#270A3D #3D0E0A #203D0A #0A3A3D
square
#270A3D #3D0E0A #203D0A #0A3A3D
split-complementary
#270A3D #3A3D0A #0A3D0E
monochromatic
#11041A #11041A #270A3D #491372 #6A1BA6

Accessibility & contrast

On white

17.54
#270A3D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#270A3D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #270A3D
17.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##270A3D#FFFFFF#000000##FFFFFF
##270A3D1.0017.541.2017.54
#FFFFFF17.541.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00183E
Deuteranopia (green-blind)
#00193C
Tritanopia (blue-blind)
#231622
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #270a3d;
/* rgb */ color: rgb(39, 10, 61);
/* oklch */ color: oklch(22.6% 0.093 306.1);
Tailwind
colors: {
  custom: {
    50: '#644c73',
    500: '#270a3d',
    950: '#000000',
  },
}
SCSS
$custom: #270a3d;
$custom-light: #644c73;
$custom-dark: #000000;
JSON
{
  "hex": "#270a3d",
  "rgb": {
    "r": 39,
    "g": 10,
    "b": 61
  },
  "hsl": {
    "h": 274.118,
    "s": 71.831,
    "l": 13.922
  },
  "oklch": {
    "l": 0.2259,
    "c": 0.09263,
    "h": 306.1
  },
  "luminance": 0.00985
}

Semantic roles & 50–950 ramp

primary
#270A3D
secondary
#4C7A28
accent
#EF3987
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060108
muted
#7A777B

Preview Lab

Preview with #270A3D

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

Preview Lab → · Contrast checker → · Palette generator →

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