#231450#231450

#231450 is a dark, moderate violet. Relative luminance 0.014; OKLCH L 25.4% C 0.103 H 288.2°. Best body text is #FFFFFF at 16.31:1 contrast (WCAG AA passes).

Color values

HEX#231450
RGBrgb(35, 20, 80)
HSLhsl(255, 60%, 20%)
HSVhsv(255, 75%, 31%)
CMYKcmyk(56.3%, 75%, 0%, 68.6%)
CIE-LABlab(12.20, 24.95, -34.23)
CIE-LCHlch(12.20, 42.35, 306.09°)
OKLaboklab(25.4% 0.0323 -0.0982)
OKLCHoklch(25.4% 0.103 288.2)
XYZxyz(2.3908, 1.4367, 7.7392)
Luminance0.0144 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231450 #415014
analogous
#142350 #231450 #411450
triadic
#231450 #502314 #145023
tetradic
#231450 #501423 #415014 #145041
square
#231450 #501423 #415014 #145041
split-complementary
#231450 #504114 #235014
monochromatic
#0B0618 #0E081F #231450 #382081 #4E2CB2

Accessibility & contrast

On white

16.31
#231450 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.29
#231450 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #231450
16.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231450#FFFFFF#000000##FFFFFF
##2314501.0016.311.2916.31
#FFFFFF16.311.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002152
Deuteranopia (green-blind)
#001E4F
Tritanopia (blue-blind)
#122330
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #231450;
/* rgb */ color: rgb(35, 20, 80);
/* oklch */ color: oklch(25.4% 0.103 288.2);
Tailwind
colors: {
  custom: {
    50: '#635382',
    500: '#231450',
    950: '#000000',
  },
}
SCSS
$custom: #231450;
$custom-light: #635382;
$custom-dark: #000000;
JSON
{
  "hex": "#231450",
  "rgb": {
    "r": 35,
    "g": 20,
    "b": 80
  },
  "hsl": {
    "h": 255,
    "s": 60,
    "l": 19.608
  },
  "oklch": {
    "l": 0.25396,
    "c": 0.10343,
    "h": 288.2
  },
  "luminance": 0.01437
}

Semantic roles & 50–950 ramp

primary
#231450
secondary
#748838
accent
#E345BC
background
#F6F4F8
surface
#EBE7EF
border
#C6C3CA
text
#06020A
muted
#7A787C

Preview Lab

Preview with #231450

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

Preview Lab → · Contrast checker → · Palette generator →

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