#230A47#230A47

#230A47 is a very dark, moderate violet. Relative luminance 0.010; OKLCH L 23.0% C 0.104 H 295.5°. Best body text is #FFFFFF at 17.42:1 contrast (WCAG AA passes).

Color values

HEX#230A47
RGBrgb(35, 10, 71)
HSLhsl(265, 75%, 16%)
HSVhsv(265, 86%, 28%)
CMYKcmyk(50.7%, 85.9%, 0%, 72.2%)
CIE-LABlab(9.23, 27.85, -32.84)
CIE-LCHlch(9.23, 43.06, 310.30°)
OKLaboklab(23.02% 0.0449 -0.0941)
OKLCHoklch(23.02% 0.104 295.5)
XYZxyz(1.9387, 1.0293, 6.0565)
Luminance0.0103 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#230A47 #2E470A
analogous
#0A0F47 #230A47 #410A47
triadic
#230A47 #47230A #0A4723
tetradic
#230A47 #470A0F #2E470A #0A4741
square
#230A47 #470A0F #2E470A #0A4741
split-complementary
#230A47 #47410A #0F470A
monochromatic
#0D041B #0D041B #230A47 #3D127D #5819B2

Accessibility & contrast

On white

17.42
#230A47 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#230A47 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #230A47
17.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##230A47#FFFFFF#000000##FFFFFF
##230A471.0017.421.2117.42
#FFFFFF17.421.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001A49
Deuteranopia (green-blind)
#001946
Tritanopia (blue-blind)
#191B28
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #230a47;
/* rgb */ color: rgb(35, 10, 71);
/* oklch */ color: oklch(23.0% 0.104 295.5);
Tailwind
colors: {
  custom: {
    50: '#634c7b',
    500: '#230a47',
    950: '#000000',
  },
}
SCSS
$custom: #230a47;
$custom-light: #634c7b;
$custom-dark: #000000;
JSON
{
  "hex": "#230a47",
  "rgb": {
    "r": 35,
    "g": 10,
    "b": 71
  },
  "hsl": {
    "h": 264.59,
    "s": 75.309,
    "l": 15.882
  },
  "oklch": {
    "l": 0.23016,
    "c": 0.10429,
    "h": 295.5
  },
  "luminance": 0.01029
}

Semantic roles & 50–950 ramp

primary
#230A47
secondary
#5F8429
accent
#F236A5
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#050109
muted
#7A777B

Preview Lab

Preview with #230A47

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

Preview Lab → · Contrast checker → · Palette generator →

#230A47 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva