#231070#231070

#231070 is a dark, vivid violet. Relative luminance 0.019; OKLCH L 28.4% C 0.150 H 280.0°. Best body text is #FFFFFF at 15.22:1 contrast (WCAG AA passes).

Color values

HEX#231070
RGBrgb(35, 16, 112)
HSLhsl(252, 75%, 25%)
HSVhsv(252, 86%, 44%)
CMYKcmyk(68.8%, 85.7%, 0%, 56.1%)
CIE-LABlab(14.94, 37.64, -51.07)
CIE-LCHlch(14.94, 63.44, 306.39°)
OKLaboklab(28.37% 0.0261 -0.1474)
OKLCHoklch(28.37% 0.15 280)
XYZxyz(3.8021, 1.8975, 15.4920)
Luminance0.0190 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231070 #5D7010
analogous
#102D70 #231070 #531070
triadic
#231070 #702310 #107023
tetradic
#231070 #70102D #5D7010 #107053
square
#231070 #70102D #5D7010 #107053
split-complementary
#231070 #705310 #2D7010
monochromatic
#08041B #12083A #231070 #3418A6 #441FDB

Accessibility & contrast

On white

15.22
#231070 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#231070 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #231070
15.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231070#FFFFFF#000000##FFFFFF
##2310701.0015.221.3815.22
#FFFFFF15.221.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002973
Deuteranopia (green-blind)
#00226E
Tritanopia (blue-blind)
#002E41
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #231070;
/* rgb */ color: rgb(35, 16, 112);
/* oklch */ color: oklch(28.4% 0.150 280.0);
Tailwind
colors: {
  custom: {
    50: '#6b529a',
    500: '#231070',
    950: '#000000',
  },
}
SCSS
$custom: #231070;
$custom-light: #6b529a;
$custom-dark: #000000;
JSON
{
  "hex": "#231070",
  "rgb": {
    "r": 35,
    "g": 16,
    "b": 112
  },
  "hsl": {
    "h": 251.875,
    "s": 75,
    "l": 25.098
  },
  "oklch": {
    "l": 0.28374,
    "c": 0.14972,
    "h": 280
  },
  "luminance": 0.01898
}

Semantic roles & 50–950 ramp

primary
#231070
secondary
#91A834
accent
#F236CD
background
#F6F4F9
surface
#ECE7F2
border
#C7C3CC
text
#08020E
muted
#7A787E

Preview Lab

Preview with #231070

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

Preview Lab → · Contrast checker → · Palette generator →

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