#231370#231370

#231370 is a dark, vivid violet. Relative luminance 0.020; OKLCH L 28.7% C 0.147 H 279.6°. Best body text is #FFFFFF at 15.02:1 contrast (WCAG AA passes).

Color values

HEX#231370
RGBrgb(35, 19, 112)
HSLhsl(250, 71%, 26%)
HSVhsv(250, 83%, 44%)
CMYKcmyk(68.8%, 83%, 0%, 56.1%)
CIE-LABlab(15.45, 36.16, -50.23)
CIE-LCHlch(15.45, 61.89, 305.75°)
OKLaboklab(28.73% 0.0245 -0.145)
OKLCHoklch(28.73% 0.147 279.6)
XYZxyz(3.8497, 1.9926, 15.5078)
Luminance0.0199 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231370 #607013
analogous
#133170 #231370 #511370
triadic
#231370 #702313 #137023
tetradic
#231370 #701331 #607013 #137051
square
#231370 #701331 #607013 #137051
split-complementary
#231370 #705113 #317013
monochromatic
#08041A #130A3C #231370 #331CA4 #4425D9

Accessibility & contrast

On white

15.02
#231370 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#231370 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #231370
15.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231370#FFFFFF#000000##FFFFFF
##2313701.0015.021.4015.02
#FFFFFF15.021.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A73
Deuteranopia (green-blind)
#00236E
Tritanopia (blue-blind)
#002F42
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #231370;
/* rgb */ color: rgb(35, 19, 112);
/* oklch */ color: oklch(28.7% 0.147 279.6);
Tailwind
colors: {
  custom: {
    50: '#6a549a',
    500: '#231370',
    950: '#000000',
  },
}
SCSS
$custom: #231370;
$custom-light: #6a549a;
$custom-dark: #000000;
JSON
{
  "hex": "#231370",
  "rgb": {
    "r": 35,
    "g": 19,
    "b": 112
  },
  "hsl": {
    "h": 250.323,
    "s": 70.992,
    "l": 25.686
  },
  "oklch": {
    "l": 0.28727,
    "c": 0.14708,
    "h": 279.6
  },
  "luminance": 0.01993
}

Semantic roles & 50–950 ramp

primary
#231370
secondary
#94A738
accent
#EE3ACF
background
#F6F4F9
surface
#ECE8F2
border
#C7C4CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #231370

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

Preview Lab → · Contrast checker → · Palette generator →

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