#230346#230346

#230346 is a very dark, moderate violet. Relative luminance 0.009; OKLCH L 22.0% C 0.112 H 298.0°. Best body text is #FFFFFF at 17.90:1 contrast (WCAG AA passes).

Color values

HEX#230346
RGBrgb(35, 3, 70)
HSLhsl(269, 92%, 14%)
HSVhsv(269, 96%, 27%)
CMYKcmyk(50%, 95.7%, 0%, 72.5%)
CIE-LABlab(7.81, 31.40, -34.47)
CIE-LCHlch(7.81, 46.63, 312.33°)
OKLaboklab(22% 0.0524 -0.0988)
OKLCHoklch(22% 0.112 298)
XYZxyz(1.8309, 0.8646, 5.8636)
Luminance0.0086 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#230346 #264603
analogous
#030446 #230346 #450346
triadic
#230346 #462303 #034623
tetradic
#230346 #460304 #264603 #034645
square
#230346 #460304 #264603 #034645
split-complementary
#230346 #464503 #044603
monochromatic
#0F011D #0F011D #230346 #400681 #5E08BB

Accessibility & contrast

On white

17.90
#230346 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.17
#230346 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #230346
17.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##230346#FFFFFF#000000##FFFFFF
##2303461.0017.901.1717.90
#FFFFFF17.901.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001748
Deuteranopia (green-blind)
#001645
Tritanopia (blue-blind)
#1A1726
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #230346;
/* rgb */ color: rgb(35, 3, 70);
/* oklch */ color: oklch(22.0% 0.112 298.0);
Tailwind
colors: {
  custom: {
    50: '#63487a',
    500: '#230346',
    950: '#000000',
  },
}
SCSS
$custom: #230346;
$custom-light: #63487a;
$custom-dark: #000000;
JSON
{
  "hex": "#230346",
  "rgb": {
    "r": 35,
    "g": 3,
    "b": 70
  },
  "hsl": {
    "h": 268.657,
    "s": 91.781,
    "l": 14.314
  },
  "oklch": {
    "l": 0.21999,
    "c": 0.11187,
    "h": 298
  },
  "luminance": 0.00865
}

Semantic roles & 50–950 ramp

primary
#230346
secondary
#55871D
accent
#FF2999
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#060109
muted
#7A777B

Preview Lab

Preview with #230346

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

Preview Lab → · Contrast checker → · Palette generator →

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