#270233#270233

#270233 is a very dark, moderate purple. Relative luminance 0.007; OKLCH L 20.5% C 0.095 H 316.3°. Best body text is #FFFFFF at 18.38:1 contrast (WCAG AA passes).

Color values

HEX#270233
RGBrgb(39, 2, 51)
HSLhsl(285, 92%, 10%)
HSVhsv(285, 96%, 20%)
CMYKcmyk(23.5%, 96.1%, 0%, 80%)
CIE-LABlab(6.45, 27.42, -22.97)
CIE-LCHlch(6.45, 35.77, 320.05°)
OKLaboklab(20.53% 0.0684 -0.0654)
OKLCHoklch(20.53% 0.095 316.3)
XYZxyz(1.4559, 0.7138, 3.1924)
Luminance0.0071 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#270233 #0E3302
analogous
#0E0233 #270233 #330226
triadic
#270233 #332702 #023327
tetradic
#270233 #330E02 #0E3302 #022633
square
#270233 #330E02 #0E3302 #022633
split-complementary
#270233 #263302 #02330E
monochromatic
#17011D #17011D #270233 #54046E #8107A9

Accessibility & contrast

On white

18.38
#270233 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.14
#270233 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #270233
18.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##270233#FFFFFF#000000##FFFFFF
##2702331.0018.381.1418.38
#FFFFFF18.381.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001234
Deuteranopia (green-blind)
#011532
Tritanopia (blue-blind)
#260D1A
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #270233;
/* rgb */ color: rgb(39, 2, 51);
/* oklch */ color: oklch(20.5% 0.095 316.3);
Tailwind
colors: {
  custom: {
    50: '#64476b',
    500: '#270233',
    950: '#000000',
  },
}
SCSS
$custom: #270233;
$custom-light: #64476b;
$custom-dark: #000000;
JSON
{
  "hex": "#270233",
  "rgb": {
    "r": 39,
    "g": 2,
    "b": 51
  },
  "hsl": {
    "h": 285.306,
    "s": 92.453,
    "l": 10.392
  },
  "oklch": {
    "l": 0.20525,
    "c": 0.09463,
    "h": 316.3
  },
  "luminance": 0.00714
}

Semantic roles & 50–950 ramp

primary
#270233
secondary
#30771A
accent
#FF295D
background
#F6F4F6
surface
#EBE6EB
border
#C6C2C6
text
#050006
muted
#7A777A

Preview Lab

Preview with #270233

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

Preview Lab → · Contrast checker → · Palette generator →

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